We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73581ae commit 19e1b8aCopy full SHA for 19e1b8a
.github/workflows/release.yml
@@ -28,9 +28,12 @@ jobs:
28
needs: [dist]
29
runs-on: ubuntu-latest
30
if: github.event_name == 'release' && github.event.action == 'published'
31
- environment: pypi
+ environment:
32
+ name: pypi
33
+ url: https://pypi.org/p/cibuildwheel
34
permissions:
35
id-token: write
36
+ attestations: write
37
38
steps:
39
- uses: actions/download-artifact@v4
@@ -39,4 +42,9 @@ jobs:
42
path: dist
40
43
merge-multiple: true
41
44
45
+ - name: Generate artifact attestation for sdist and wheel
46
+ uses: actions/attest-build-provenance@173725a1209d09b31f9d30a3890cf2757ebbff0d # v1.1.2
47
+ with:
48
+ subject-path: "dist/cibuildwheel-*"
49
+
50
- uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments