bullseye/.github/workflows/flutter.yml

66 lines
1.5 KiB
YAML
Raw Normal View History

2021-05-29 12:13:44 -04:00
name: Flutter
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
# linux:
# runs-on: ubuntu-latest
# steps:
2022-09-06 14:01:31 -04:00
# - 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
2021-05-29 12:13:44 -04:00
android:
runs-on: ubuntu-latest
steps:
2022-09-06 14:01:31 -04:00
- uses: actions/checkout@v3
2021-05-29 12:13:44 -04:00
- uses: actions/setup-java@v1
with:
java-version: "12.x"
2022-09-06 14:01:31 -04:00
- uses: subosito/flutter-action@v2
2021-05-29 12:13:44 -04:00
with:
channel: "stable"
- run: flutter pub get
- run: flutter build apk
- run: flutter build appbundle
macos:
runs-on: macos-latest
steps:
2022-09-06 14:01:31 -04:00
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
2021-05-29 12:13:44 -04:00
with:
channel: "stable"
- run: flutter pub get
2021-05-29 12:20:06 -04:00
- run: flutter config --enable-macos-desktop
- run: flutter build macos --release
2021-05-29 12:13:44 -04:00
ios:
runs-on: macos-latest
steps:
2022-09-06 14:01:31 -04:00
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
2021-05-29 12:13:44 -04:00
with:
channel: "stable"
- run: flutter pub get
- run: flutter build ios --release --no-codesign
windows:
runs-on: windows-latest
steps:
2022-09-06 14:01:31 -04:00
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
2021-05-29 12:13:44 -04:00
with:
channel: "stable"
- run: flutter pub get
2021-05-29 12:20:06 -04:00
- run: flutter config --enable-windows-desktop
2021-05-29 12:13:44 -04:00
- run: flutter build windows