Skip to content

Commit

Permalink
drop the event_name push condition
Browse files Browse the repository at this point in the history
most examples in the wild don't use it
  • Loading branch information
AlbertDeFusco committed Feb 9, 2024
1 parent 748ff27 commit 1d0c61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:

publish-to-pypi:
name: Build & publish to PyPI
if: github.event_name == 'push' && github.event_name == 'release' && github.event.action == 'created'
if: github.event_name == 'release' && github.event.action == 'created'
runs-on: ubuntu-latest
needs: [check]
steps:
Expand Down

0 comments on commit 1d0c61d

Please sign in to comment.