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 2, 2024
1 parent a8f2121 commit 10c7c81
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,18 @@ runs:
shaprog() {
case ${{ runner.os }} in
Linux)
sha256sum --ignore-missing --check $2
case ${{ runner.arch }} in
X64)
sha256sum -c $2
;;
ARM64)
sha256sum -c $2
;;
esac
;;
macOS)
shasum -a256 --ignore-missing --check $2
;;
Expand Down

0 comments on commit 10c7c81

Please sign in to comment.