Skip to content

ci: create flutter bundle action #7

ci: create flutter bundle action

ci: create flutter bundle action #7

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Flutter build appbundle
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.3'
- run: flutter pub get
# - run: flutter test test_driver/integration_test.dart
- run: |
echo flutter.minSdkVersion=21 > /home/runner/work/chemobile/chemobile/android/local.properties
echo flutter.targetSdkVersion=30 > /home/runner/work/chemobile/chemobile/android/local.properties
echo flutter.compileSdkVersion=30 > /home/runner/work/chemobile/chemobile/android/local.properties
# - run: flutter build apk
- run: flutter build appbundle