Skip to content

Commit

Permalink
BRE-246 - Update logic to use API key with altool (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrassia authored Oct 1, 2024
1 parent 890e117 commit 34292d4
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,27 +166,28 @@ jobs:
name: Authenticator iOS
path: build/Authenticator/Authenticator.ipa

- name: Set up private auth key
run: |
mkdir ~/private_keys
cat << EOF > ~/private_keys/AuthKey_S4VJ5UU8J2.p8
${{ secrets.APP_STORE_CONNECT_AUTH_KEY }}
EOF
- name: Validate app with App Store Connect
env:
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
run: |
xcrun altool --validate-app \
--type ios \
--file "build/Authenticator/Authenticator.ipa" \
--username "$APPLE_ID_USERNAME" \
--password @env:APPLE_ID_PASSWORD
--apiKey "S4VJ5UU8J2" \
--apiIssuer "${{ secrets.APP_STORE_CONNECT_TEAM_ISSUER }}"
- name: Upload app to TestFlight
env:
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
run: |
xcrun altool --upload-app \
--type ios \
--file "build/Authenticator/Authenticator.ipa" \
--username "$APPLE_ID_USERNAME" \
--password @env:APPLE_ID_PASSWORD
--apiKey "S4VJ5UU8J2" \
--apiIssuer "${{ secrets.APP_STORE_CONNECT_TEAM_ISSUER }}"
crowdin-push:
name: Crowdin Push
Expand Down

0 comments on commit 34292d4

Please sign in to comment.