Skip to content

Commit

Permalink
Opt into uploading PEP 740 digital publish attestations to PyPI once …
Browse files Browse the repository at this point in the history
…again (#1345)

Opt into uploading PEP 740 digital publish attestations to PyPI

pypa/gh-action-pypi-publish#236

Co-authored-by: Hynek Schlawack <[email protected]>
  • Loading branch information
webknjaz and hynek authored Sep 3, 2024
1 parent d13c897 commit 62fb657
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pypi-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -67,3 +68,5 @@ jobs:

- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
attestations: true

0 comments on commit 62fb657

Please sign in to comment.