remove hard-coded version #443
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: Pull Request | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: subosito/flutter-action@v1 | |
with: | |
flutter-version: '3.13.6' | |
channel: 'stable' | |
- run: flutter pub get | |
- name: Lint | |
run: | | |
flutter analyze | |
build-Android: | |
name: Build Android package | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: subosito/flutter-action@v1 | |
with: | |
flutter-version: '3.13.6' | |
channel: 'stable' | |
- run: flutter pub get | |
- name: Build apk package | |
run: | | |
flutter build apk --debug lib/main.dart |