Skip to content

Update from upstream #1

Update from upstream

Update from upstream #1

Workflow file for this run

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