restore options earlier

This commit is contained in:
Vadim 2023-03-26 17:20:35 +03:00
parent e8601b8a37
commit 76dfdbd14b

View file

@ -27,7 +27,15 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
submodules: recursive 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 - uses: subosito/flutter-action@v2
with: with:
channel: "stable" channel: "stable"
@ -41,14 +49,6 @@ jobs:
- name: Generate intl - name: Generate intl
run: flutter pub run intl_utils:generate 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 - name: Analyze project source
run: flutter analyze lib --fatal-infos run: flutter analyze lib --fatal-infos
# - name: Run tests # - name: Run tests