diff --git a/.github/workflows/PyPI-publishing.yml b/.github/workflows/PyPI-publishing.yml index 63d98e90..4e523da1 100644 --- a/.github/workflows/PyPI-publishing.yml +++ b/.github/workflows/PyPI-publishing.yml @@ -1,6 +1,10 @@ name: PyPI 📦 Distribution -on: [push] +on: + push: + tags: + - "*" + workflow_dispatch: jobs: build: @@ -97,7 +101,6 @@ jobs: publish: needs: [build] runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags') steps: - uses: actions/download-artifact@v2 with: