Skip to content

Commit

Permalink
Only upload to PyPI on new release
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos authored Feb 22, 2023
1 parent 564743c commit b88baef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python-package-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
dist/*-manylinux*.whl
dist/*.tar.gz
- name: Publish wheels to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
Expand Down

0 comments on commit b88baef

Please sign in to comment.