Skip to content

Commit

Permalink
actions: sign binaries in addition to archives
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee authored May 3, 2024
1 parent 095f854 commit 2a0a801
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,12 @@ jobs:
echo "gyb=$(${realpath} ./gyb/gyb)" >> $GITHUB_ENV
echo -e "GYB: ${gyb}\nGYBPATH: ${gybpath}"
- name: Attest Binary Provenance
uses: actions/attest-build-provenance@v1
if: matrix.goal == 'build'
with:
subject-path: ${{ env.gyb }}

- name: Basic Tests all jobs
run: |
echo -e "PYTHON: $PYTHON\ngyb: $gyb\ngybpath: $gybpath\n"
Expand Down Expand Up @@ -468,7 +474,7 @@ jobs:
$gyb --action backup --email $gyb_user --service-account --local-folder sa-backup
$gyb --action backup-chat --email $gyb_user
- name: Attest Build Provenance
- name: Attest Build Archive Provenance
uses: actions/attest-build-provenance@v1
if: (github.event_name == 'push' || github.event_name == 'schedule') && matrix.goal == 'build'
with:
Expand Down

0 comments on commit 2a0a801

Please sign in to comment.