Skip to content

Commit fd886fc

Browse files
committed
conf(cd): add missing steps
Signed-off-by: Aman <[email protected]>
1 parent def10d8 commit fd886fc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/cd.yml

+7
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
RELEASE_KEYSTORE: ${{ secrets.RELEASE_KEYSTORE }}
1111
RELEASE_KEYSTORE_PROPERTIES: ${{ secrets.RELEASE_KEYSTORE_PROPERTIES }}
1212
RELEASE_TYPE: ${{ contains(github.event.release.tag_name, 'internal') && 'internal' || contains(github.event.release.tag_name, 'beta') && 'beta' || 'prod' }}
13+
FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }}
1314
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
1415

1516
jobs:
@@ -39,12 +40,18 @@ jobs:
3940
# Get flutter dependencies.
4041
- run: flutter pub get
4142

43+
# Generate Freezed models
44+
- run: flutter pub run build_runner build --delete-conflicting-outputs
45+
4246
# Check for any formatting issues in the code.
4347
- run: flutter format --set-exit-if-changed .
4448

4549
# Statically analyze the Dart code for any errors.
4650
- run: flutter analyze .
4751

52+
# Provide Firebase config file
53+
- run: echo $FIREBASE_CONFIG | base64 --decode > android/app/google-services.json
54+
4855
# Save supply json key for fastlane
4956
- run: echo "${FASTLANE_SUPPLY_JSON_KEY}" | base64 --decode > android/supply_json_key.json
5057

0 commit comments

Comments
 (0)