Skip to content

Commit

Permalink
ci: generate attestations (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Jul 3, 2024
1 parent 2e561f3 commit 7ffbed1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,17 @@ jobs:
url: https://pypi.org/p/cmake
permissions:
id-token: write
attestations: write
steps:
- uses: actions/download-artifact@v4
with:
pattern: cibw-*
merge-multiple: true
path: dist

- name: Generate artifact attestation for sdist and wheel
uses: actions/attest-build-provenance@bdd51370e0416ac948727f861e03c2f05d32d78e # v1.3.2
with:
subject-path: "dist/cmake-*"

- uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 7ffbed1

Please sign in to comment.