Skip to content

[update] pubspec.ymal + condition #69

[update] pubspec.ymal + condition

[update] pubspec.ymal + condition #69

# 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: build
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
channel: 'stable' # or: 'beta', 'dev' or 'master'
- run: flutter pub get
- run: flutter pub run build_runner clean
- run: flutter pub run build_runner build --delete-conflicting-outputs
- run: flutter test
- run: flutter analyze