Skip to content

Commit 15cc200

Browse files
committed
ci: fix base64 decode command for macOS 13
For some reason macOS 13's base64 command doesn't seem to like the long-form --decode option. Signed-off-by: Jacob Howard <[email protected]>
1 parent 92cc5da commit 15cc200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if [[ "${MUTAGEN_OS_NAME}" == "darwin" ]]; then
3030
# Import the macOS code signing certificate and private key and allow access
3131
# from the codesign utility.
3232
MUTAGEN_CERTIFICATE_AND_KEY_PATH="${RUNNER_TEMP}/certificate_and_key.p12"
33-
echo -n "${MACOS_CODESIGN_CERTIFICATE_AND_KEY}" | base64 --decode --output "${MUTAGEN_CERTIFICATE_AND_KEY_PATH}"
33+
echo -n "${MACOS_CODESIGN_CERTIFICATE_AND_KEY}" | base64 -d -o "${MUTAGEN_CERTIFICATE_AND_KEY_PATH}"
3434
security import "${MUTAGEN_CERTIFICATE_AND_KEY_PATH}" -k "${MUTAGEN_KEYCHAIN_PATH}" -P "${MACOS_CODESIGN_CERTIFICATE_AND_KEY_PASSWORD}" -T "/usr/bin/codesign"
3535
rm "${MUTAGEN_CERTIFICATE_AND_KEY_PATH}"
3636
security set-key-partition-list -S apple-tool:,apple: -s -k "${MUTAGEN_KEYCHAIN_PASSWORD}" "${MUTAGEN_KEYCHAIN_PATH}" > /dev/null

0 commit comments

Comments
 (0)