When using the checksum field of this action with the sha256 field, I see the following error on macOS runners:
/Users/runner/work/_actions/taiki-e/upload-rust-binary-action/v1/main.sh: line 277: sha256sum: command not found
Error: Command failed: bash --noprofile --norc /Users/runner/work/_actions/taiki-e/upload-rust-binary-action/v1/main.sh
When using the
checksum
field of this action with thesha256
field, I see the following error on macOS runners:The checksum tool is called here:
https://github.com/taiki-e/upload-rust-binary-action/blob/fde83aaa24409a00584de496f2307887610d9286/main.sh#L277
Apparenty,
sha256sum
is not installed on macOS by default:Workaround for users
Install
coreutils
withbrew
to bringsha256sum
into the scope:Fix in the action
Use the
shasum
tool on macOS with the-a
option