diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6bf98df..7b63aa4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,13 +44,13 @@ jobs: - name: Publish to Production PyPI if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.environment == 'pypi') - uses: pypa/gh-action-pypi-publish@release/v1 + uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }} - name: Publish to Test PyPI if: github.event_name == 'workflow_dispatch' && inputs.environment == 'testpypi' - uses: pypa/gh-action-pypi-publish@release/v1 + uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1 with: repository-url: https://test.pypi.org/legacy/ password: ${{ secrets.TEST_PYPI_API_TOKEN }}