diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c35aca9..103f9ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,15 @@ jobs: - uses: actions/checkout@v3 with: submodules: recursive - + + - name: Restore firebase_options.dart + env: + KEYSTORE: ${{ secrets.FIREBASE_OPTIONS }} + run: | + FIREBASE_OPTIONS_PATH=$RUNNER_TEMP/firebase_options.dart + echo -n "$FIREBASE_OPTIONS" | base64 --decode --output $FIREBASE_OPTIONS_PATH + cp $FIREBASE_OPTIONS_PATH ./lib + - uses: subosito/flutter-action@v2 with: channel: "stable" @@ -41,14 +49,6 @@ jobs: - name: Generate intl run: flutter pub run intl_utils:generate - - name: Restore firebase_options.dart - env: - KEYSTORE: ${{ secrets.FIREBASE_OPTIONS }} - run: | - FIREBASE_OPTIONS_PATH=$RUNNER_TEMP/firebase_options.dart - echo -n "$FIREBASE_OPTIONS" | base64 --decode --output $FIREBASE_OPTIONS_PATH - cp $FIREBASE_OPTIONS_PATH ./lib - - name: Analyze project source run: flutter analyze lib --fatal-infos # - name: Run tests