Skip to content

Commit

Permalink
👷 TestFlight Action을 use 하는 대신 altool 방식으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
SwiftyJunnos committed Dec 19, 2023
1 parent 031b5ff commit c7615ef
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/TestFlight_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,23 @@ jobs:
-exportPath . \
-allowProvisioningUpdates
- name: Install Private API Key P8
env:
APPSTORE_API_PRIVATE_KEY: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}
APPSTORE_API_KEY_ID: ${{ secrets.APPSTORE_API_KEY_ID }}
run: |
mkdir -p ~/private_keys
echo -n "$APPSTORE_API_PRIVATE_KEY" | base64 -d -o ~/private_keys/AuthKey_$APPSTORE_API_KEY_ID.p8
- name: Upload to TestFlight
uses: apple-actions/upload-testflight-build@v1
with:
app-path: 'MusicSpot.ipa'
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }}
api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}
env:
APPSTORE_API_KEY_ID: ${{ secrets.APPSTORE_API_KEY_ID }}
APPSTORE_ISSUER_ID : ${{ secrets.APPSTORE_ISSUER_ID }}
run: |
xcrun altool \
--output-format xml \
--upload-app \
-f 'MusicSpot.ipa' \
-t ios \
--apiKey $APPSTORE_API_KEY_ID \
--apiIssuer $APPSTORE_ISSUER_ID

0 comments on commit c7615ef

Please sign in to comment.