Skip to content

Commit

Permalink
conf(cd): add missing steps
Browse files Browse the repository at this point in the history
Signed-off-by: Aman <[email protected]>
  • Loading branch information
aman-singh7 committed Jun 30, 2022
1 parent def10d8 commit fd886fc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
RELEASE_KEYSTORE: ${{ secrets.RELEASE_KEYSTORE }}
RELEASE_KEYSTORE_PROPERTIES: ${{ secrets.RELEASE_KEYSTORE_PROPERTIES }}
RELEASE_TYPE: ${{ contains(github.event.release.tag_name, 'internal') && 'internal' || contains(github.event.release.tag_name, 'beta') && 'beta' || 'prod' }}
FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}

jobs:
Expand Down Expand Up @@ -39,12 +40,18 @@ jobs:
# Get flutter dependencies.
- run: flutter pub get

# Generate Freezed models
- run: flutter pub run build_runner build --delete-conflicting-outputs

# Check for any formatting issues in the code.
- run: flutter format --set-exit-if-changed .

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

# Provide Firebase config file
- run: echo $FIREBASE_CONFIG | base64 --decode > android/app/google-services.json

# Save supply json key for fastlane
- run: echo "${FASTLANE_SUPPLY_JSON_KEY}" | base64 --decode > android/supply_json_key.json

Expand Down

0 comments on commit fd886fc

Please sign in to comment.