Skip to content

Commit

Permalink
Opt into uploading PEP 740 digital publish attestations to PyPI (#1342)
Browse files Browse the repository at this point in the history
pypa/gh-action-pypi-publish#236

Co-authored-by: Hynek Schlawack <hs@ox.cx>
  • Loading branch information
webknjaz and hynek authored Sep 3, 2024
1 parent 558c835 commit 3fb6f56
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 3fb6f56

Please sign in to comment.