UPDATE: update shared_preferences to 2.3.0 #108
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: Dart CI | |
#os: | |
# - osx | |
#install: | |
# - git clone https://github.com/flutter/flutter.git | |
# - export PATH="$PATH:`pwd`/flutter/bin" | |
#script: | |
# - flutter doctor && flutter test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
# install: | |
# - git clone https://github.com/flutter/flutter.git | |
# - export PATH="PATH:`pwd`/flutter/bin" | |
build: | |
runs-on: ubuntu-latest | |
# container: | |
# image: google/dart:latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' | |
java-version: '11' | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- run: flutter pub get | |
# - run: flutter test | |
- run: cd example && flutter build apk && cd - | |
- run: cd example && flutter build appbundle && cd - |