From e8368aa8b693026bc9fa605dcbdc573113c70ee1 Mon Sep 17 00:00:00 2001 From: kunchok tashi Date: Thu, 18 Jun 2026 13:07:25 -0400 Subject: [PATCH] ci: write google-services.json from env var --- codemagic.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/codemagic.yaml b/codemagic.yaml index e2bee4a..c7e522a 100644 --- a/codemagic.yaml +++ b/codemagic.yaml @@ -33,6 +33,10 @@ workflows: script: | echo "sdk.dir=$ANDROID_SDK_ROOT" > "$CM_BUILD_DIR/local.properties" + - name: Write google-services.json + script: | + echo $GOOGLE_SERVICES_JSON > app/google-services.json + - name: Build release AAB script: | # Auto-increment version code based on what's already on the Play Store. @@ -84,6 +88,10 @@ workflows: script: | echo "sdk.dir=$ANDROID_SDK_ROOT" > "$CM_BUILD_DIR/local.properties" + - name: Write google-services.json + script: | + echo $GOOGLE_SERVICES_JSON > app/google-services.json + - name: Build debug APK script: | ./gradlew assembleDebug