Skip to content

Commit bed2abd

Browse files
committed
wip: Update build workflow
1 parent 8e7c18f commit bed2abd

File tree

2 files changed

+29
-36
lines changed

2 files changed

+29
-36
lines changed

.github/workflows/build.yml

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,41 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v2
1414
- uses: subosito/flutter-action@v2
15+
with:
16+
channel: stable
17+
flutter-version: 3.22.2
1518
- run: |
1619
sudo apt-get update -y
1720
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
18-
- run: flutter config --enable-linux-desktop
19-
- run: cd example && flutter build linux -v
20-
build-macos:
21-
runs-on: macos-latest
21+
- run: flutter build linux -v
22+
working-directory: example
23+
24+
# build-macos:
25+
# runs-on: macos-latest
26+
# steps:
27+
# - uses: actions/checkout@v2
28+
# - uses: subosito/flutter-action@v2
29+
# - run: flutter config --enable-macos-desktop
30+
# - run: cd example && flutter build macos -v
31+
32+
build-windows:
33+
runs-on: windows-latest
2234
steps:
2335
- uses: actions/checkout@v2
2436
- uses: subosito/flutter-action@v2
25-
- run: flutter config --enable-macos-desktop
26-
- run: cd example && flutter build macos -v
27-
build-windows:
28-
runs-on: windows-latest
37+
with:
38+
channel: stable
39+
flutter-version: 3.22.2
40+
- run: flutter build windows -v
41+
working-directory: example
42+
43+
build-web:
44+
runs-on: ubuntu-latest
2945
steps:
3046
- uses: actions/checkout@v2
3147
- uses: subosito/flutter-action@v2
32-
- run: cd example && flutter build windows -v
48+
with:
49+
channel: stable
50+
flutter-version: 3.22.2
51+
- run: flutter build web -v
52+
working-directory: example

example/test/widget_test.dart

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)