From 30927ac4932e9d53a77dc07b6618c58385d8cb1a Mon Sep 17 00:00:00 2001 From: Pokai Chang Date: Fri, 2 Aug 2024 20:47:59 +0800 Subject: [PATCH] ci: fix `base64: invalid argument /Users/runner/AuthKey.p8.base64` --- .github/workflows/build_app.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_app.yml b/.github/workflows/build_app.yml index ac73398..0d342ed 100644 --- a/.github/workflows/build_app.yml +++ b/.github/workflows/build_app.yml @@ -288,7 +288,7 @@ jobs: echo "MARKETING_VERSION = 0.1.2" >> App/ios/config.xcconfig echo "CURRENT_PROJECT_VERSION = 10" >> App/ios/config.xcconfig echo "${{ secrets.AUTHKEY_P8_BASE64 }}" > ~/AuthKey.p8.base64 - base64 --decode ~/AuthKey.p8.base64 > ~/AuthKey.p8 + base64 --decode --input ~/AuthKey.p8.base64 > ~/AuthKey.p8 - name: Cache Pods uses: actions/cache@v3 env: @@ -452,7 +452,7 @@ jobs: echo "MARKETING_VERSION = 0.1.2" >> App/ios/config.xcconfig echo "CURRENT_PROJECT_VERSION = 10" >> App/ios/config.xcconfig echo "${{ secrets.AUTHKEY_P8_BASE64 }}" > ~/AuthKey.p8.base64 - base64 --decode ~/AuthKey.p8.base64 > ~/AuthKey.p8 + base64 --decode --input ~/AuthKey.p8.base64 > ~/AuthKey.p8 - name: Cache Pods uses: actions/cache@v3 env: