diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 141dd51e9..7d604cff3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -181,7 +181,7 @@ jobs: - name: Publish to Test PyPI # Only publish to TestPyPI when a PR is merged (pushed to main) if: success() && github.event_name == 'push' - uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 + uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 with: repository-url: https://test.pypi.org/legacy/ # Allow existing releases on test PyPI without errors. @@ -191,4 +191,4 @@ jobs: - name: Publish to PyPI # Only publish to PyPI when a release triggers the build if: success() && github.event_name == 'release' - uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 + uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33