diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 4f2c2ad..3bfae0b 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -2,6 +2,9 @@ name: Publish packackage to PyPI on: workflow_dispatch: + push: + tags: + - "v*.*.*" jobs: build: @@ -31,7 +34,6 @@ jobs: publish-to-pypi: name: >- Publish Python 🐍 distribution 📦 to PyPI - if: startsWith(github.ref, 'refs/tags/') needs: - build runs-on: ubuntu-latest