Android build #106
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: Android build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 0' # every sunday at midnight | |
jobs: | |
test: | |
name: Test on ${{ matrix.os }} / ${{ matrix.flutter }} | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
working-directory: ./support | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
flutter: stable | |
- os: ubuntu-latest | |
flutter: beta | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17.x' | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: ${{ matrix.flutter }} | |
- run: dart pub get | |
- run: dart run tool/run_ci_android.dart |