File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change 5252 steps :
5353 # Note: this will be replaced with the GHA in the future.
5454 # See https://github.com/slsa-framework/slsa-verifier/issues/95
55- - name : Install the verifier
56- env :
57- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58- run : |
59- set -euo pipefail
60- gh -R slsa-framework/slsa-verifier release download v1.2.0 -p "slsa-verifier-linux-amd64"
61- chmod ug+x slsa-verifier-linux-amd64
62- # Note: see https://github.com/slsa-framework/slsa-verifier/blob/main/SHA256SUM.md
63- COMPUTED_HASH=$(sha256sum slsa-verifier-linux-amd64 | cut -d ' ' -f1)
64- EXPECTED_HASH="37db23392c7918bb4e243cdb097ed5f9d14b9b965dc1905b25bc2d1c0c91bf3d"
65- if [[ "$EXPECTED_HASH" != "$COMPUTED_HASH" ]];then
66- echo "error: expected $EXPECTED_HASH, computed $COMPUTED_HASH"
67- exit 1
68- fi
55+ - name : Install SLSA verifier
56+ uses : slsa-framework/slsa-verifier/actions/installer@v2.0.1
6957 - name : Download assets
7058 env :
7159 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments