From b3797b7a83e291ef81070d77b8cb52906521cd27 Mon Sep 17 00:00:00 2001 From: Mark Chan <45706356+WindowsMEMZ@users.noreply.github.com> Date: Wed, 13 Dec 2023 23:40:16 +0800 Subject: [PATCH] Update ios.yml --- .github/workflows/ios.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 6fdff4f62..130dd1dcb 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -107,11 +107,17 @@ jobs: 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_1.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