Skip to content

Bump rxdart from 0.27.7 to 0.28.0 (#36) #9

Bump rxdart from 0.27.7 to 0.28.0 (#36)

Bump rxdart from 0.27.7 to 0.28.0 (#36) #9

Workflow file for this run

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