Skip to content

Commit

Permalink
Update ios.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMEMZ authored Jan 2, 2024
1 parent f847fde commit 246bd27
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,26 +279,26 @@ jobs:
name: Unsigned IPA
path: ./DarockBili_Unsigned.ipa

deploy:
name: Deploy to TestFlight
runs-on: macos-13
needs:
- export
- test
env:
ASCAPI_ISSUER_ID: ${{ secrets.ASCAPI_ISSUER_ID }}
ASCAPI_KEY_ID: ${{ secrets.ASCAPI_KEY_ID }}
ASCAPI_KEY: ${{ secrets.ASCAPI_KEY }}
steps:
- name: Download App Archive
uses: actions/download-artifact@v3
with:
name: Release IPA

- name: Prepare API Key
run: |
mkdir ~/.private_keys
echo "$ASCAPI_KEY" >> ~/.private_keys/AuthKey_${ASCAPI_KEY_ID}.p8
- name: Upload to App Store Connect
run: xcrun altool --upload-app -f ./DarockBili_Release.ipa -t ios --apiKey $ASCAPI_KEY_ID --apiIssuer $ASCAPI_ISSUER_ID
# deploy:
# name: Deploy to TestFlight
# runs-on: macos-13
# needs:
# - export
# - test
# env:
# ASCAPI_ISSUER_ID: ${{ secrets.ASCAPI_ISSUER_ID }}
# ASCAPI_KEY_ID: ${{ secrets.ASCAPI_KEY_ID }}
# ASCAPI_KEY: ${{ secrets.ASCAPI_KEY }}
# steps:
# - name: Download App Archive
# uses: actions/download-artifact@v3
# with:
# name: Release IPA
#
# - name: Prepare API Key
# run: |
# mkdir ~/.private_keys
# echo "$ASCAPI_KEY" >> ~/.private_keys/AuthKey_${ASCAPI_KEY_ID}.p8
# - name: Upload to App Store Connect
# run: xcrun altool --upload-app -f ./DarockBili_Release.ipa -t ios --apiKey $ASCAPI_KEY_ID --apiIssuer $ASCAPI_ISSUER_ID

0 comments on commit 246bd27

Please sign in to comment.