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