diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index a76a455..6c7e3b2 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -103,7 +103,7 @@ jobs: - name: | Publish to TestPyPI when pushing to release-* branch. You better test with a1, a2, b1, b2 releases first. - uses: pypa/gh-action-pypi-publish@v1.4.2 + uses: pypa/gh-action-pypi-publish@v1.13.0 if: startsWith(github.ref, 'refs/heads/release-') with: user: __token__ @@ -111,7 +111,7 @@ jobs: repository_url: https://test.pypi.org/legacy/ - name: Publish to PyPI when tagged if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.4.2 + uses: pypa/gh-action-pypi-publish@v1.13.0 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }}