mirror of
https://github.com/tonytins/bullseye.git
synced 2025-03-15 12:21:21 +00:00
Stick to Android & iOS builds
- Android builds now use all platforms
This commit is contained in:
parent
2ec628352f
commit
86448c9d7f
1 changed files with 4 additions and 34 deletions
38
.github/workflows/flutter.yml
vendored
38
.github/workflows/flutter.yml
vendored
|
@ -7,19 +7,11 @@ on:
|
||||||
branches: [develop, main, "feature/**", "patch/**"]
|
branches: [develop, main, "feature/**", "patch/**"]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: subosito/flutter-action@v2
|
|
||||||
with:
|
|
||||||
channel: "stable"
|
|
||||||
- run: flutter pub get
|
|
||||||
- run: flutter config --enable-linux-desktop
|
|
||||||
- run: flutter build linux
|
|
||||||
|
|
||||||
android:
|
android:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.platform }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
platform: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-java@v1
|
- uses: actions/setup-java@v1
|
||||||
|
@ -32,17 +24,6 @@ jobs:
|
||||||
- run: flutter build apk
|
- run: flutter build apk
|
||||||
- run: flutter build appbundle
|
- run: flutter build appbundle
|
||||||
|
|
||||||
macos:
|
|
||||||
runs-on: macos-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: subosito/flutter-action@v2
|
|
||||||
with:
|
|
||||||
channel: "stable"
|
|
||||||
- run: flutter pub get
|
|
||||||
- run: flutter config --enable-macos-desktop
|
|
||||||
- run: flutter build macos --release
|
|
||||||
|
|
||||||
ios:
|
ios:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -52,14 +33,3 @@ jobs:
|
||||||
channel: "stable"
|
channel: "stable"
|
||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
- run: flutter build ios --release --no-codesign
|
- run: flutter build ios --release --no-codesign
|
||||||
|
|
||||||
windows:
|
|
||||||
runs-on: windows-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: subosito/flutter-action@v2
|
|
||||||
with:
|
|
||||||
channel: "stable"
|
|
||||||
- run: flutter pub get
|
|
||||||
- run: flutter config --enable-windows-desktop
|
|
||||||
- run: flutter build windows
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue