Skip to content

Update dependency gradle to v8 #305

Update dependency gradle to v8

Update dependency gradle to v8 #305

Workflow file for this run

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