From 11fd0a5d1065bf6c41b47a71d4168bfdd6908f80 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Sat, 21 Feb 2026 23:07:15 +0300 Subject: [PATCH] ci: copy PROD google-services.json to all release build types releaseMarket and releaseGithub build types need their own copy of the production google-services.json. Without this, the google-services plugin falls back to the dev config in app/, causing Google Sign-In to fail on release builds. --- .github/workflows/android_build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/android_build.yml b/.github/workflows/android_build.yml index 9d3e4c2..fc54ac0 100644 --- a/.github/workflows/android_build.yml +++ b/.github/workflows/android_build.yml @@ -161,6 +161,16 @@ jobs: filename: google-services.json destination-path: ./app/src/release/ + - name: 📂 Copy PROD Google Services to releaseMarket + run: | + mkdir -p ./app/src/releaseMarket + cp ./app/src/release/google-services.json ./app/src/releaseMarket/google-services.json + + - name: 📂 Copy PROD Google Services to releaseGithub + run: | + mkdir -p ./app/src/releaseGithub + cp ./app/src/release/google-services.json ./app/src/releaseGithub/google-services.json + - name: 🔧 Install dependencies uses: ./.github/workflows/install/