Release 2.4.0 #65
Workflow file for this run
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
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
name: 'analyze' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.10.6' | |
- run: | | |
flutter pub get | |
flutter analyze | |
build-android: | |
runs-on: ubuntu-latest | |
needs: analyze | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' | |
java-version: '11' | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.0.5' | |
- name: build apk | |
run: | | |
cd example | |
flutter pub get | |
flutter build apk | |
flutter build appbundle | |
build-ios: | |
runs-on: macos-latest | |
needs: analyze | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
architecture: x64 | |
- name: build ios | |
run: | | |
cd example | |
flutter pub get | |
flutter build ios --release --no-codesign | |
build-web: | |
runs-on: ubuntu-latest | |
needs: analyze | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- name: build web | |
run: | | |
cd example | |
flutter pub get | |
flutter build web |