From 55b7e9b40d5aee258633c66327700bf3f7980e26 Mon Sep 17 00:00:00 2001 From: Jonathan Romano Date: Tue, 20 Aug 2024 21:56:12 -0400 Subject: [PATCH] Fix app store connect API key reference --- .github/workflows/ci.yml | 2 +- .github/workflows/rotate-apple-keys.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c45346..b94bf10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -160,7 +160,7 @@ jobs: CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12 npm ci - node src/index.js retrieve ${{ matrix.packageType == 'development' && 'IOS_DEVELOPMENT' || 'IOS_DISTRIBUTION' }} ${{ secrets.APP_SIGNING_PRIVATE_KEY_BASE64 }} ${{ secrets.APP_SIGNING_PRIVATE_KEY }} ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }} ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }} $CERTIFICATE_PATH + node src/index.js retrieve ${{ matrix.packageType == 'development' && 'IOS_DEVELOPMENT' || 'IOS_DISTRIBUTION' }} ${{ secrets.APP_SIGNING_PRIVATE_KEY_BASE64 }} ${{ secrets.APP_STORE_CONNECT_API_KEY }} ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }} ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }} $CERTIFICATE_PATH # create temporary keychain security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH diff --git a/.github/workflows/rotate-apple-keys.yml b/.github/workflows/rotate-apple-keys.yml index e6caa3c..81b0383 100644 --- a/.github/workflows/rotate-apple-keys.yml +++ b/.github/workflows/rotate-apple-keys.yml @@ -35,8 +35,8 @@ jobs: run: npm ci working-directory: ./.github/workflows/setup-apple-signing - name: Rotate development key - run: node src/index.js rotate IOS_DEVELOPMENT ${{ secrets.APP_SIGNING_PRIVATE_KEY_BASE64 }} ${{ secrets.APP_SIGNING_PRIVATE_KEY }} ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }} ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }} + run: node src/index.js rotate IOS_DEVELOPMENT ${{ secrets.APP_SIGNING_PRIVATE_KEY_BASE64 }} ${{ secrets.APP_STORE_CONNECT_API_KEY }} ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }} ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }} working-directory: ./.github/workflows/setup-apple-signing - name: Rotate distribution key - run: node src/index.js rotate IOS_DISTRIBUTION ${{ secrets.APP_SIGNING_PRIVATE_KEY_BASE64 }} ${{ secrets.APP_SIGNING_PRIVATE_KEY }} ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }} ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }} + run: node src/index.js rotate IOS_DISTRIBUTION ${{ secrets.APP_SIGNING_PRIVATE_KEY_BASE64 }} ${{ secrets.APP_STORE_CONNECT_API_KEY }} ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }} ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }} working-directory: ./.github/workflows/setup-apple-signing \ No newline at end of file