From 61720c12d44c908471bc7db216d40001bcab6d91 Mon Sep 17 00:00:00 2001 From: Jonathan Romano Date: Wed, 21 Aug 2024 00:00:06 -0400 Subject: [PATCH] Put app store connect key in temp dir like everything else --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index adba295..717d49f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -178,12 +178,12 @@ jobs: if: ${{ matrix.target == 'ios' }} env: APP_STORE_CONNECT_API_KEY_BASE64: ${{ secrets.APP_STORE_CONNECT_API_KEY_BASE64 }} - run: echo $APP_STORE_CONNECT_API_KEY_BASE64 | base64 --decode > "${{ github.workspace }}/authkey.p8" + run: echo $APP_STORE_CONNECT_API_KEY_BASE64 | base64 --decode > "$RUNNER_TEMP/app_store_connect.p8" - name: Build iOS if: ${{ matrix.target == 'ios' }} run: | npx cordova build ${{ matrix.target }} --${{ env.BUILD_TYPE == 'prod' && 'release' || 'debug' }} --device \ - --automaticProvisioning --authenticationKeyPath="${{ github.workspace }}/authkey.p8" \ + --automaticProvisioning --authenticationKeyPath="$RUNNER_TEMP/app_store_connect.p8" \ --authenticationKeyID=${{ secrets.APP_STORE_CONNECT_API_KEY_ID }} --authenticationKeyIssuerID="${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}" \ --developmentTeam="${{ secrets.APP_STORE_CONNECT_TEAM_ID }}" --codeSignIdentity="Apple Development" \ --packageType="${{ matrix.packageType }}"