Skip to content

Commit

Permalink
Update iOS build command and fix upload command in build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan-2007 committed Nov 21, 2024
1 parent 32c0e24 commit 64a2d25
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
- name: write api key to file
run: |
mkdir -p ~/private_keys
echo "${{ secrets.APPLE_API_KEY_PATH }}" > ~/private_keys/authkey\_${{secrets.APPLE_API_KEY_ID}}.p8
chmod 600 ~/private_keys/authkey\_${{secrets.APPLE_API_KEY_ID}}.p8
echo "${{ secrets.APPLE_API_KEY_PATH }}" > ~/private_keys/authkey\_${{secrets.APPLE_API_KEY}}.p8
chmod 600 ~/private_keys/authkey\_${{secrets.APPLE_API_KEY}}.p8
- name: ios build (macos only)
env:
Expand All @@ -67,13 +67,13 @@ jobs:
# IOS_MOBILE_PROVISION: ${{ secrets.IOS_MOBILE_PROVISION }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}
APPLE_API_KEY_PATH: ~/private_keys/authkey\_${{secrets.APPLE_API_KEY_ID}}.p8
APPLE_API_KEY_PATH: ~/private_keys/authkey\_${{secrets.APPLE_API_KEY}}.p8

if: matrix.os == 'macos-latest'
run: |
rustup target add aarch64-apple-ios
pnpm tauri ios build --export-method app-store-connect
xcrun altool --upload-app --type ios --file "src-tauri/gen/apple/build/arm64/amplitune.ipa" --apiKey ${{ secrets.APPLE_API_KEY_ID }} --apiIssuer ${{ secrets.APPLE_API_ISSUER }} --skip-submission
xcrun altool --upload-app --type ios --file "src-tauri/gen/apple/build/arm64/amplitune.ipa" --apiKey ${{ secrets.APPLE_API_KEY }} --apiIssuer ${{ secrets.APPLE_API_ISSUER }} --skip-submission
Expand Down

0 comments on commit 64a2d25

Please sign in to comment.