Skip to content

Commit

Permalink
Publish to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
dnerini committed Oct 12, 2023
1 parent 2368e8c commit 22b2e88
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
poetry add twine
- name: package library
run: poetry build
# - name: Publish to PyPI
# env:
# PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
# run: |
# python setup.py sdist bdist_wheel
# twine upload dist/* --verbose --skip-existing -u __token__ -p "$PYPI_TOKEN"
- name: Publish to PyPI
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
poetry config pypi-token.pypi "$PYPI_TOKEN"
poetry publish

0 comments on commit 22b2e88

Please sign in to comment.