bullseye/.github/workflows/flutter.yml
Tony Bark 86448c9d7f Stick to Android & iOS builds
- Android builds now use all platforms
2022-09-07 10:42:54 -04:00

35 lines
853 B
YAML

name: Flutter
on:
push:
branches: [develop, main, "feature/**", "patch/**"]
pull_request:
branches: [develop, main, "feature/**", "patch/**"]
jobs:
android:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: flutter pub get
- run: flutter build apk
- run: flutter build appbundle
ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: flutter pub get
- run: flutter build ios --release --no-codesign