Skip to content

Commit

Permalink
Generate signed build provenance attestations
Browse files Browse the repository at this point in the history
  • Loading branch information
messense authored Sep 19, 2024
1 parent 42a8a67 commit 86c3f44
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:

name: Build

permissions:
id-token: write
attestations: write

jobs:
build:
name: Build ${{ matrix.target }} for ${{ matrix.os.arch }}
Expand Down Expand Up @@ -69,6 +73,9 @@ jobs:
cd -
mv /Volumes/tools/${{ matrix.target }}-${{ matrix.os.arch }}-darwin.tar.gz .
sha256sum ${{ matrix.target }}-${{ matrix.os.arch }}-darwin.tar.gz | tee ${{ matrix.target }}-${{ matrix.os.arch }}-darwin.tar.gz.sha256
- uses: actions/attest-build-provenance@v1
with:
subject-path: ${{ matrix.target }}-${{ matrix.os.arch }}-darwin.tar.gz
- name: Upload Toolchain
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 86c3f44

Please sign in to comment.