Skip to content

Commit

Permalink
[CI] Fix attestations' verification for musl build (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamazeem authored Dec 10, 2024
1 parent ed6c43e commit 366fd82
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ jobs:
steps:
- name: Set up dependencies
shell: sh
run: apk add bash gcc make musl-dev perl ncurses-dev ncurses-static tmux file sqlite curl zip
run: apk add bash gcc make musl-dev perl ncurses-dev ncurses-static tmux file sqlite curl zip wget tar

- name: Checkout
uses: actions/checkout@v4
Expand All @@ -556,6 +556,14 @@ jobs:
with:
subject-path: ${{ env.ARTIFACT_DIR }}/*

- name: Set up GitHub CLI
if: startsWith(github.ref, 'refs/tags/v')
run: |
wget https://github.com/cli/cli/releases/download/v2.63.2/gh_2.63.2_linux_amd64.tar.gz
tar xvf gh_2.63.2_linux_amd64.tar.gz
cp gh_2.63.2_linux_amd64/bin/gh /usr/bin
rm -rf gh_2.63.2_linux_amd64
- name: Verify attestations of release artifacts
if: startsWith(github.ref, 'refs/tags/v')
run: ./scripts/ci-verify-attestations.sh
Expand Down

0 comments on commit 366fd82

Please sign in to comment.