Skip to content

Commit

Permalink
Merge pull request #812 from matter-labs/popzxc-attestations
Browse files Browse the repository at this point in the history
feat: Add binary attestations
  • Loading branch information
popzxc authored Jan 7, 2025
2 parents cb40c35 + 84cd0ae commit 8c10790
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ jobs:
permissions:
# Required to post the release
contents: write
# For attestations
id-token: write
attestations: write
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -155,6 +158,7 @@ jobs:
file "$bin" || true
ldd "$bin" || true
$bin --version || true
echo "${name}_bin_path=${bin}" >> $GITHUB_ENV
done
- name: Archive binaries
Expand Down Expand Up @@ -205,6 +209,13 @@ jobs:
${{ steps.artifacts.outputs.file_name }}
${{ steps.man.outputs.foundry_man }}
- name: Binaries attestation
uses: actions/attest-build-provenance@v2
with:
subject-path: |
${{ env.cast_bin_path }}
${{ env.forge_bin_path }}
# If this is a nightly release, it also updates the release
# tagged `nightly` for compatibility with `foundryup`
- name: Update nightly release
Expand Down

0 comments on commit 8c10790

Please sign in to comment.