Skip to content

Commit

Permalink
remove missing flag for Linux
Browse files Browse the repository at this point in the history
Signed-off-by: hectorj2f <hector@chainguard.dev>
  • Loading branch information
hectorj2f committed Mar 3, 2024
1 parent a8f2121 commit 023a296
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,22 @@ runs:
shaprog() {
case ${{ runner.os }} in
Linux)
sha256sum --ignore-missing --check $2
case ${{ runner.arch }} in
X64)
sha256sum -c gptscript-v${{ inputs.gptscript-release }}-linux-amd64.tar.gz
;;
ARM64)
sha256sum -c gptscript-v${{ inputs.gptscript-release }}-linux-arm64.tar.gz
;;
*)
log_error "unsupported architecture $arch"
exit 1
;;
esac
;;
macOS)
shasum -a256 --ignore-missing --check $2
;;
Expand Down

0 comments on commit 023a296

Please sign in to comment.