Skip to content

Commit

Permalink
Update build-n-publish.yml
Browse files Browse the repository at this point in the history
Fix upload tags to pypi
  • Loading branch information
juliotux authored Jun 20, 2024
1 parent eacf597 commit 7769052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-n-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
--wheel
--outdir dist/
- name: Publish package to PyPi
if: github.ref == 'refs/heads/main'
if: (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags'))
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 7769052

Please sign in to comment.