Skip to content

Commit

Permalink
add missing rustup target
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan-2007 committed Nov 20, 2024
1 parent 9b71985 commit 387d09c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.os == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}


- name: install dependencies (ubuntu only)
if: matrix.os == 'ubuntu-latest' # This must match the platform value defined above.
Expand All @@ -66,9 +67,10 @@ jobs:
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}
APPLE_API_KEY_PATH: ${{ github.workspace }}/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 --file "src-tauri/gen/apple/build/arm64/$APPNAME.ipa" --apiKey ${{ secrets.APPLE_API_KEY }} --apiIssuer ${{ secrets.APPLE_API_ISSUER }} --skip-submission

Expand Down

0 comments on commit 387d09c

Please sign in to comment.