Skip to content

Commit

Permalink
ci: update the build flow trigger when received tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
baobach committed Oct 9, 2024
1 parent be3d57a commit e1e4f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
needs: test
# Only run on pushes to tags
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') # only publish to PyPI on tag pushes

name: Build distribution 📦
runs-on: ubuntu-latest

Expand All @@ -69,7 +70,6 @@ jobs:
publish-to-pypi:
name: >-
Publish 🐍📦 to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') # only publish to PyPI on tag pushes
needs:
- build
runs-on: ubuntu-latest
Expand Down

0 comments on commit e1e4f0f

Please sign in to comment.