diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5c88a60..454fe42 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -131,11 +131,11 @@ jobs: - name: Publish to PyPI (trusted publishing) id: publish_trusted continue-on-error: true - uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b + uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 - name: Publish to PyPI (API token fallback) if: steps.publish_trusted.outcome == 'failure' && env.PYPI_API_TOKEN != '' - uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b + uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 with: user: __token__ password: ${{ env.PYPI_API_TOKEN }}