Skip to content

Commit

Permalink
FIX: release condition
Browse files Browse the repository at this point in the history
  • Loading branch information
StRigaud committed May 22, 2023
1 parent 76f71b6 commit e19181a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
# upload to PyPI on every tag starting with 'v'
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
# upload to PyPI on release event
if: github.event_name == 'release'
if: github.event_name == 'release' && github.event.action == 'created'
steps:
- uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit e19181a

Please sign in to comment.