mirror of
https://github.com/tonytins/bullseye.git
synced 2025-03-15 04:11:22 +00:00
35 lines
853 B
YAML
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
|