From a39de7a293414bea9f07b345a8df57ac1fe50f99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=A7=80=EC=9C=A4?= <65584699+EASYhz@users.noreply.github.com> Date: Wed, 21 Aug 2024 12:40:21 +0900 Subject: [PATCH] =?UTF-8?q?=08fix:=20android.yml=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/android.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index dfa2c733..9abc8816 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -39,12 +39,16 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew - - name: Create google-services.json - run: echo "$GOOGLE_SERVICES_JSON" > app/dev/google-services.json - - - name: Create google-services.json - run: echo "$GOOGLE_SERVICES_JSON" > app/prod/google-services.json + - name: Create dev directory and copy google-services.json + run: | + mkdir -p app/dev + cp ${{ secrets.GOOGLE_SERVICES_JSON }} app/dev/google-services.json + - name: Create prod directory and copy google-services.json + run: | + mkdir -p app/dev + cp ${{ secrets.GOOGLE_SERVICES_JSON }} app/prod/google-services.json + - name: Decode and create keystore.jks run: echo $SIGNING_KEY | base64 --decode > app/keystore.jks