diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b568bc29e..141dd51e9 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@cef221092ed1bacb1cc03d23a2d87d1d172e277b + uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 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@cef221092ed1bacb1cc03d23a2d87d1d172e277b + uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247