diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7202ccb..937bb6e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -154,13 +154,13 @@ jobs: fi - name: Publish to PyPI (OIDC Trusted Publishing) if: ${{ vars.PYPI_PUBLISH_METHOD != 'token' }} - uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # v1.14.1 + uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2 with: # No password -> the action uses OIDC Trusted Publishing. print-hash: true - name: Publish to PyPI (API token fallback) if: ${{ vars.PYPI_PUBLISH_METHOD == 'token' }} - uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # v1.14.1 + uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2 with: password: ${{ secrets.PYPI_API_TOKEN }} print-hash: true