Skip to content

Commit

Permalink
Put app store connect key in temp dir like everything else
Browse files Browse the repository at this point in the history
  • Loading branch information
luxaritas committed Sep 5, 2024
1 parent 89065f7 commit 45935b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 45935b4

Please sign in to comment.