diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 255070e..f44a507 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -108,7 +108,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@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e + uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b with: repository_url: https://test.pypi.org/legacy/ # Allow existing releases on test PyPI without errors. @@ -118,4 +118,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@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e + uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b