Bump firebase_core from 3.2.0 to 3.3.0 (#39) #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate production APK | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: π Git Checkout | |
uses: actions/checkout@v4 | |
- name: π¦ Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3" | |
- name: π¦ Install Dependencies | |
run: flutter packages get | |
- name: β¨ Check Formatting | |
run: dart format --set-exit-if-changed lib test | |
- name: βοΈ Code Generation | |
run: dart run build_runner build --delete-conflicting-outputs | |
- name: π΅οΈ Analyze | |
run: flutter analyze lib | |
# - name: βοΈ Download Android keystore | |
# id: android_keystore | |
# uses: timheuer/[email protected] | |
# with: | |
# fileName: key.jks | |
# encodedString: ${{ secrets.RELEASE_KEYSTORE }} | |
# - name: π Create key.properties | |
# run: | | |
# echo "storeFile=${{ steps.android_keystore.outputs.filePath }}" > android/key.properties | |
# echo "storePassword=${{ secrets.RELEASE_KEYSTORE_PASSPHRASE }}" >> android/key.properties | |
# echo "keyPassword=${{ secrets.RELEASE_KEYSTORE_PASSWORD }}" >> android/key.properties | |
# echo "keyAlias=${{ secrets.RELEASE_KEYSTORE_ALIAS }}" >> android/key.properties | |
- name: βοΈ Build AAB | |
run: flutter build apk --flavor production --target lib/main_production.dart | |
- name: π¦ Archive | |
uses: actions/upload-artifact@v4 | |
with: | |
name: production-apk | |
path: build/app/outputs/flutter-apk/app-production-release.apk | |
# - name: βοΈ Setup Ruby | |
# uses: ruby/setup-ruby@v1 | |
# with: | |
# ruby-version: "3.0" | |
# bundler-cache: true | |
# - name: βοΈ Download bundle dependencies | |
# run: | | |
# gem install bundler:2.0.2 | |
# bundle install | |
# - name: π Release to Google Play (Production) | |
# env: | |
# SUPPLY_PACKAGE_NAME: ${{ secrets.ANDROID_PACKAGE_NAME }} | |
# SUPPLY_JSON_KEY_DATA: ${{ secrets.PLAY_STORE_CREDENTIALS }} | |
# run: | | |
# bundle exec fastlane supply \ | |
# --aab build/app/outputs/bundle/productionRelease/app-production-release.aab \ | |
# --track production |