diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7f10f12..702eae8 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@ba38be9e461d3875417946c167d0b5f3d385a247 + uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 - name: Publish to PyPI (API token fallback) if: steps.publish_trusted.outcome == 'failure' && env.PYPI_API_TOKEN != '' - uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 + uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 with: user: __token__ password: ${{ env.PYPI_API_TOKEN }}