PYTHON-5047 Fix handling of attestation on testpypi workflows (#2081)

This commit is contained in:
Steven Silvester 2025-01-27 13:43:11 -06:00 committed by GitHub
parent 848ab4f7db
commit 4567f8875e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,6 +89,7 @@ jobs:
with:
repository-url: https://test.pypi.org/legacy/
skip-existing: true
attestations: ${{ env.DRY_RUN }}
- name: Publish package distributions to PyPI
if: startsWith(env.DRY_RUN, 'false')
uses: pypa/gh-action-pypi-publish@release/v1