Opt into uploading PEP 740 digital publish attestations to PyPI (#1342)

https://github.com/pypa/gh-action-pypi-publish/pull/236

Co-authored-by: Hynek Schlawack <hs@ox.cx>
This commit is contained in:
Sviatoslav Sydorenko (Святослав Сидоренко) 2024-09-03 06:59:58 +02:00 committed by GitHub
parent 558c83523b
commit 3fb6f56458
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,7 @@ jobs:
- name: Upload package to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
attestations: true
repository-url: https://test.pypi.org/legacy/
# Upload to real PyPI on GitHub Releases.
@ -67,3 +68,5 @@ jobs:
- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
attestations: true