From af0d3cafd39281aa2ae5afe4c213750abaa5dca8 Mon Sep 17 00:00:00 2001 From: poppingmoon <63451158+poppingmoon@users.noreply.github.com> Date: Wed, 23 Oct 2024 02:01:48 +0900 Subject: [PATCH] ci: use authentication key (#437) --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d11517cf..f0984750 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -243,6 +243,10 @@ jobs: -archivePath Runner.xcarchive -allowProvisioningUpdates + - name: Dump AuthKey + working-directory: ios + run: echo $APP_STORE_CONNECT_PRIVATE_KEY > AuthKey.p8 + - name: Create IPA if: startsWith(github.ref, 'refs/tags/') working-directory: ios @@ -252,6 +256,9 @@ jobs: -archivePath Runner.xcarchive -exportOptionsPlist ExportOptions.plist -allowProvisioningUpdates + -authenticationKeyIssuerID $APP_STORE_CONNECT_ISSUER_ID + -authenticationKeyID $APP_STORE_CONNECT_KEY_IDENTIFIER + -authenticationKeyPath $(pwd)/AuthKey.p8 build-windows-x64: runs-on: windows-latest