mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-05-19 22:50:40 +00:00
added firebase_options to CD
This commit is contained in:
parent
c1c77049fc
commit
718c4e9f16
3 changed files with 15 additions and 15 deletions
14
.github/workflows/cd_dev.yml
vendored
14
.github/workflows/cd_dev.yml
vendored
|
@ -59,13 +59,13 @@ jobs:
|
|||
echo -n "$GOOGLE_SERVICES_JSON_ANDROID" | base64 --decode --output $GOOGLE_SERVICES_JSON_ANDROID_PATH
|
||||
cp $GOOGLE_SERVICES_JSON_ANDROID_PATH ./android/app
|
||||
|
||||
# - name: Restore lib/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: Restore firebase_options.dart
|
||||
env:
|
||||
FIREBASE_OPTIONS: ${{ 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: Install Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
|
|
14
.github/workflows/cd_prod.yml
vendored
14
.github/workflows/cd_prod.yml
vendored
|
@ -50,13 +50,13 @@ jobs:
|
|||
echo -n "$GOOGLE_SERVICES_JSON_ANDROID" | base64 --decode --output $GOOGLE_SERVICES_JSON_ANDROID_PATH
|
||||
cp $GOOGLE_SERVICES_JSON_ANDROID_PATH ./android/app
|
||||
|
||||
# - name: Restore firebase_options.dart
|
||||
# env:
|
||||
# FIREBASE_OPTIONS: ${{ 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: Restore firebase_options.dart
|
||||
env:
|
||||
FIREBASE_OPTIONS: ${{ 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: Install Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
|
|
|
@ -11,7 +11,7 @@ dependencies:
|
|||
camera: 0.10.0+4
|
||||
exif: 3.1.2
|
||||
dynamic_color: 1.5.4
|
||||
firebase_core: 2.7.0
|
||||
firebase_core: 2.10.0
|
||||
firebase_crashlytics: 3.1.2
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
|
Loading…
Reference in a new issue