diff options
Diffstat (limited to '.github/workflows/python.yml')
-rw-r--r-- | .github/workflows/python.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index f75c9d6..bf6e958 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -39,7 +39,7 @@ jobs: publish: name: Publish to PyPI needs: build-and-test - if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }} + if: ${{ github.event_name == 'tag' && startsWith(github.ref, 'refs/tags') }} runs-on: ubuntu-latest permissions: id-token: write |