Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add binary attestations #812

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading