bullseye/.github/workflows/flutter.yml
Tony Bark 2ec628352f Dark theme
- Enabled Linux building
- Tweaked Github actions
2022-09-07 10:30:43 -04:00

65 lines
1.6 KiB
YAML

name: Flutter
on:
push:
branches: [develop, main, "feature/**", "patch/**"]
pull_request:
branches: [develop, main, "feature/**", "patch/**"]
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:
runs-on: ubuntu-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
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:
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
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