From 9ffa101ecb5656ac8d3e97c13317b8695ce4faa1 Mon Sep 17 00:00:00 2001 From: Mathias Mogensencd collaction_website Date: Mon, 19 Dec 2022 21:20:43 +0100 Subject: [PATCH] cicd: split up google-services depending on environment --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c00b8478..9966ba42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,7 +107,7 @@ jobs: build_android: if: ${{ github.ref == 'refs/heads/development' || github.ref == 'refs/heads/master' }} - needs: [analyze, test] + needs: [analyze] runs-on: macos-latest timeout-minutes: 60 steps: @@ -160,7 +160,6 @@ jobs: - name: Build appbundle run: | echo ${{ github.ref == 'refs/heads/master' && secrets.ENV_PROD || secrets.ENV_DEV }} | base64 -d > .env - echo ${{ secrets.ANDROID_GOOGLE_SERVICES_JSON }} | base64 -d > android/app/google-services.json flutter build appbundle --release --build-number $GITHUB_RUN_NUMBER cp release_notes.txt build/app/outputs/