diff --git a/action.yaml b/action.yaml index 63eb63b..6469d94 100644 --- a/action.yaml +++ b/action.yaml @@ -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 ;;