Skip to content

Commit

Permalink
Only upload to pypi if tagged
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpops committed Apr 24, 2023
1 parent 23bcfd4 commit 10736c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
tests:
uses: ./.github/workflows/test.yaml
pypi-publish:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
name: Upload release to PyPI
needs: [tests] # require tests to pass before deploy runs
runs-on: ubuntu-latest
Expand Down

0 comments on commit 10736c3

Please sign in to comment.