slsa-provenance-action
slsa-provenance-action copied to clipboard
Unable to use this action from macos-latest
Context
From action.yml
encoded_github="$(echo ${GITHUB_CONTEXT} | base64 -w 0)"
encoded_runner="$(echo ${RUNNER_CONTEXT} | base64 -w 0)"
But -w
doesn't exist for mac
host
base64: invalid option -- w
Usage: base64 [-hvDd] [-b num] [-i in_file] [-o out_file]
-h, --help display this message
-Dd, --decode decodes input
-b, --break break encoded string into num character lines
-i, --input input file (default: "-" for stdin)
-o, --output output file (default: "-" for stdout)
Hi @Zenithar,
Thanks for creating this issue. This looks like a bug indeed. We are working on resolving this and will follow up on this issue once we have a (proposed) solution.
Actually just noticed your Pull Request, sorry about that. Will review as soon as possible 👍 You rock!