From 18531837eb10f08f0b2911d92e0ba1015f68911a Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Fri, 15 Jan 2021 15:21:04 +0100 Subject: [PATCH] update build.yml --- .github/workflows/build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5d554b7..e8e5cfa1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,12 +44,6 @@ jobs: build_and_deploy_android: runs-on: ubuntu-latest steps: - - name: Decode google-services.json - env: - FIREBASE_SECRET: ${{ secrets.FIREBASE_SECRET }} - run: | - pwd - echo $FIREBASE_SECRET > ./example/android/app/google-services.json - uses: actions/checkout@v2 - uses: actions/setup-java@v1 with: @@ -60,6 +54,10 @@ jobs: - run: | cd example flutter pub get + - name: Decode google-services.json + env: + FIREBASE_SECRET: ${{ secrets.FIREBASE_SECRET }} + run: echo $FIREBASE_SECRET > ./example/android/app/google-services.json - name: Build run: | cd example