Skip to content

Commit

Permalink
Simplify tag condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanzvonkov committed Mar 15, 2022
1 parent e20c5e1 commit 7a76a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:

publish-to-pypi:
needs: [mypy, test]
if: startsWith(github.ref, 'refs/tags') && github.ref == 'refs/heads/main'
if: startsWith(github.ref, 'refs/tags')
name: Publish to PyPI (if tagged)
runs-on: ubuntu-18.04
steps:
Expand Down

0 comments on commit 7a76a12

Please sign in to comment.