Skip to content

Commit

Permalink
fix check for release trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
wilko77 committed Mar 9, 2022
1 parent 54a9867 commit f9d4ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest

# upload to PyPI on every release
if: github.event.type == 'ReleaseEvent'
if: github.event.release && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit f9d4ba8

Please sign in to comment.