From 3fd0cc5ba25f1588f724f5cd505e68fa3c0bdf5b Mon Sep 17 00:00:00 2001 From: Atul Madhugiri Date: Thu, 19 Oct 2023 11:10:30 -0400 Subject: [PATCH] [GH Actions] Fix `base64` command options for macOS 13 Summary: Change in `base64` command is causing iOS workflow to fail. Luckily I've run into this before (https://github.com/atulsmadhugiri/blob/commit/abca30d8179a87cc764f65c51e90d0408646315c) and fix is straightforward. Test Plan: Land and see what happens. Reviewers: ashoat, tomek, bartek, varun Reviewed By: varun Subscribers: wyilio Differential Revision: https://phab.comm.dev/D9540 --- .github/workflows/ios_ci.yml | 2 +- .github/workflows/ios_release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ios_ci.yml b/.github/workflows/ios_ci.yml index 024bb60e76..f8215a8157 100644 --- a/.github/workflows/ios_ci.yml +++ b/.github/workflows/ios_ci.yml @@ -33,7 +33,7 @@ jobs: KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db # import certificate from secrets - echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode --output $CERTIFICATE_PATH + echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH # create temporary keychain security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH diff --git a/.github/workflows/ios_release.yml b/.github/workflows/ios_release.yml index b35267e94a..96291aebad 100644 --- a/.github/workflows/ios_release.yml +++ b/.github/workflows/ios_release.yml @@ -28,7 +28,7 @@ jobs: KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db # import certificate from secrets - echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode --output $CERTIFICATE_PATH + echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH # create temporary keychain security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH