diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index c5f0232..c0aafd9 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -41,6 +41,7 @@ jobs: publish-to-pypi: name: >- Publish Python distribution to PyPI + if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes needs: - build runs-on: ubuntu-latest