Skip to content

Commit

Permalink
ci: add binaries attestation support
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Jan 8, 2025
1 parent 6c98693 commit 34db80a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ jobs:
release-suffix: ${{ format('{0}-{1}', matrix.release-suffix, inputs.prerelease_suffix || format('v{0}', github.ref_name)) }}

prepare-release:
permissions:
id-token: write
attestations: write
contents: write
name: Prepare release
runs-on: matterlabs-ci-runner-high-performance
container:
Expand Down Expand Up @@ -199,6 +203,12 @@ jobs:
./releases/release-macosx-amd64-${RELEASE_SUFFIX}/macosx-amd64-${RELEASE_SUFFIX}/zkvyper-macosx-amd64-${RELEASE_SUFFIX} \
./releases/release-macosx-arm64-${RELEASE_SUFFIX}/macosx-arm64-${RELEASE_SUFFIX}/zkvyper-macosx-arm64-${RELEASE_SUFFIX}
- name: Binaries attestation
uses: actions/attest-build-provenance@v2
if: github.ref_type == 'tag'
with:
subject-path: 'releases/**/**'

- name: Prepare release
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit 34db80a

Please sign in to comment.