Skip to content

Commit 7ffbed1

Browse files
authored
ci: generate attestations (#517)
1 parent 2e561f3 commit 7ffbed1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

+6
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,17 @@ jobs:
234234
url: https://pypi.org/p/cmake
235235
permissions:
236236
id-token: write
237+
attestations: write
237238
steps:
238239
- uses: actions/download-artifact@v4
239240
with:
240241
pattern: cibw-*
241242
merge-multiple: true
242243
path: dist
243244

245+
- name: Generate artifact attestation for sdist and wheel
246+
uses: actions/attest-build-provenance@bdd51370e0416ac948727f861e03c2f05d32d78e # v1.3.2
247+
with:
248+
subject-path: "dist/cmake-*"
249+
244250
- uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)