diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 89378afd..30dd16dd 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -166,7 +166,7 @@ jobs: name: dist path: dist - uses: pypa/gh-action-pypi-publish@release/v1 - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/v') with: user: __token__ password: ${{ secrets.PYPI_PASSWORD }}