Skip to content

Commit

Permalink
Fix wheels not published to pypi on release
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Mar 21, 2024
1 parent 28779f2 commit 4940461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ jobs:
name: dist
path: dist/
- name: Publish to PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
if: github.event_name == 'release' && github.event.action == 'published'
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
Expand Down

0 comments on commit 4940461

Please sign in to comment.