Skip to content

Commit d3301a0

Browse files
committed
Modifying mock firebase_options.dart for CI compilation fix
1 parent 845cf3f commit d3301a0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/main.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,20 @@ jobs:
2828
echo "import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;" >> lib/firebase_options.dart
2929
echo "import 'package:flutter/foundation.dart'" >> lib/firebase_options.dart
3030
echo " show defaultTargetPlatform, TargetPlatform;" >> lib/firebase_options.dart
31+
echo "" >> lib/firebase_options.dart
3132
echo "class DefaultFirebaseOptions {" >> lib/firebase_options.dart
3233
echo " static FirebaseOptions get currentPlatform {" >> lib/firebase_options.dart
3334
echo " if (defaultTargetPlatform == TargetPlatform.android)" >> lib/firebase_options.dart
3435
echo " return android;" >> lib/firebase_options.dart
3536
echo " throw UnsupportedError('');" >> lib/firebase_options.dart
3637
echo " }" >> lib/firebase_options.dart
38+
echo "" >> lib/firebase_options.dart
3739
echo " static const FirebaseOptions android = FirebaseOptions(" >> lib/firebase_options.dart
38-
echo " apiKey: '', appId: '', messagingSenderId: '', projectId: '', storageBucket: ''," >> lib/firebase_options.dart
40+
echo " apiKey: ''," >> lib/firebase_options.dart
41+
echo " appId: ''," >> lib/firebase_options.dart
42+
echo " messagingSenderId: ''," >> lib/firebase_options.dart
43+
echo " projectId: ''," >> lib/firebase_options.dart
44+
echo " storageBucket: ''," >> lib/firebase_options.dart
3945
echo " );" >> lib/firebase_options.dart
4046
echo "}" >> lib/firebase_options.dart
4147

0 commit comments

Comments
 (0)