diff --git a/.github/workflows/common-setup.yaml b/.github/workflows/common-setup.yaml index ab3a1173..b73edf38 100644 --- a/.github/workflows/common-setup.yaml +++ b/.github/workflows/common-setup.yaml @@ -14,7 +14,11 @@ jobs: - name: Putting Json data env: GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }} - run: echo "$GOOGLE_SERVICES_JSON" > /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/google-services.json + GOOGLE_SERVICES_JSON_DEBUG: ${{ secrets.GOOGLE_SERVICES_JSON_DEBUG }} + run: | + mkdir /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/release + echo "$GOOGLE_SERVICES_JSON" > /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/release/google-services.json + echo "$GOOGLE_SERVICES_JSON_DEBUG" > /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/google-services.json - name: Access SERVER_BASE_URL run: | @@ -27,3 +31,4 @@ jobs: path: | /home/runner/work/Dorabangs_Android/Dorabangs_Android/local.properties /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/google-services.json + /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/release/google-services.json diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 1260aede..8f67cca2 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -34,6 +34,7 @@ android { buildTypes { debug { + applicationIdSuffix = ".debug" isDebuggable = true isMinifyEnabled = false buildConfigField("Boolean", "DEBUG_MODE", "true")