From 4aef6b94f80e1aabe6e479bd48fd5f28654790ff Mon Sep 17 00:00:00 2001 From: Jeffrey Kengne Date: Tue, 21 Mar 2023 15:12:27 +0100 Subject: [PATCH] made google-service.json file available in the right location from the secrets --- .github/workflows/android-release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index 44ed198..7fad732 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -45,6 +45,10 @@ jobs: channel: 'stable' - run: flutter upgrade - run: flutter --version + - name: Get DEV_GOOGLE_SERVICES_JSON content write it into app/src/development/google-services.json + env: + DEV_GOOGLE_SERVICES_JSON: ${{ secrets.DEV_GOOGLE_SERVICES_JSON }} + run: echo "$DEV_GOOGLE_SERVICES_JSON" > android/app/src/development/google-services.json - run: flutter pub get # - run: flutter test - run: flutter build apk --profile --flavor development --target lib/main_development.dart