Skip to content

Commit

Permalink
migrate to poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Aug 29, 2023
1 parent f886d16 commit 266e8ab
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@ jobs:
with:
python-version: 3.x

- name: Build package
run: |
pip install wheel
python setup.py sdist bdist_wheel
- name: Install Python dependencies
run: python -m pip install -U pip setuptools wheel twine

- name: Publish package
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_token }}
- name: install poetry and poetry-dynamic-versioning
run: python -m pip install -U poetry poetry-dynamic-versioning

- name: building package
run: poetry build

- name: Upload packages
run: "python -m twine upload dist/*"
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.pypi_token }}

0 comments on commit 266e8ab

Please sign in to comment.