Skip to content

Commit

Permalink
Try to fix the key
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Sep 21, 2024
1 parent 0f271a9 commit 9a3fbaa
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,10 @@ jobs:
run: pnpm install

- name: Save API key to file
run: 'echo -n "$APPLE_API_SECRET_KEY" > ${{ github.workspace }}/apple-api-key.p8'
shell: bash
env:
APPLE_API_KEY: ${{ secrets.APPLE_API_SECRET_KEY }}
run: echo -n '${{ secrets.APPLE_API_SECRET_KEY }}' > ~/private_keys/AuthKey_${{ secrets.APPLE_API_KEY_ID }}.p8

- name: Print sha256sum
run: brew install coreutils && sha256sum ${{ github.workspace }}/apple-api-key.p8
run: brew install coreutils && sha256sum ~/private_keys/AuthKey_${{ secrets.APPLE_API_KEY_ID }}.p8

- uses: tauri-apps/tauri-action@v0
env:
Expand All @@ -69,7 +66,7 @@ jobs:
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY_ID }}
APPLE_API_KEY_PATH: ${{ github.workspace }}/apple-api-key.p8
APPLE_API_KEY_PATH: ~/private_keys/AuthKey_${{ secrets.APPLE_API_KEY_ID }}.p8
CI: true
with:
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
Expand Down

0 comments on commit 9a3fbaa

Please sign in to comment.