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:
parent
558c83523b
commit
3fb6f56458
|
@ -48,6 +48,7 @@ jobs:
|
||||||
- name: Upload package to Test PyPI
|
- name: Upload package to Test PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
|
attestations: true
|
||||||
repository-url: https://test.pypi.org/legacy/
|
repository-url: https://test.pypi.org/legacy/
|
||||||
|
|
||||||
# Upload to real PyPI on GitHub Releases.
|
# Upload to real PyPI on GitHub Releases.
|
||||||
|
@ -67,3 +68,5 @@ jobs:
|
||||||
|
|
||||||
- name: Upload package to PyPI
|
- name: Upload package to PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
|
with:
|
||||||
|
attestations: true
|
||||||
|
|
Loading…
Reference in New Issue