Skip to content

Commit 6ed4c79

Browse files
committed
Generate digital attestations for PyPI (PEP 740)
1 parent 5f2eeba commit 6ed4c79

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
permissions:
1212
contents: read
1313

14+
env:
15+
FORCE_COLOR: 1
16+
1417
jobs:
1518
# Always build & lint package.
1619
build-package:
@@ -47,6 +50,7 @@ jobs:
4750
- name: Publish to Test PyPI
4851
uses: pypa/gh-action-pypi-publish@release/v1
4952
with:
53+
attestations: true
5054
repository-url: https://test.pypi.org/legacy/
5155

5256
# Publish to PyPI on GitHub Releases.
@@ -78,3 +82,5 @@ jobs:
7882

7983
- name: Publish to PyPI
8084
uses: pypa/gh-action-pypi-publish@release/v1
85+
with:
86+
attestations: true

0 commit comments

Comments
 (0)