This repository has been archived by the owner on Oct 5, 2024. It is now read-only.
Update dependency com.android.tools.build:gradle to v8 #294
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: build | |
on: [push, pull_request] | |
jobs: | |
check: | |
# the golden images were generated on MacOS, therefore the tests must run on MacOS | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: beta | |
- run: flutter format -n --set-exit-if-changed . | |
- run: flutter analyze | |
- run: flutter test --coverage | |
- uses: codecov/[email protected] | |
build: | |
needs: check | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macOS-latest, ubuntu-latest, windows-latest] | |
flutter_channel: [beta] | |
include: | |
- os: macOS-latest | |
flutter_build: ios --no-codesign | |
- os: ubuntu-latest | |
flutter_build: apk | |
- os: windows-latest | |
flutter_build: apk | |
env: | |
GRADLE_OPTS: -Dorg.gradle.daemon=false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: ${{ matrix.flutter_channel }} | |
- working-directory: example | |
run: flutter build ${{ matrix.flutter_build }} --debug |