Skip to content

Commit 9d0c836

Browse files
committed
another try at windows build
1 parent 7504598 commit 9d0c836

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed
Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
1-
name: Build Windows
2-
on: push
1+
name: Build Windows EXE
2+
on: [push, workflow_dispatch]
3+
34
jobs:
4-
build:
5+
build-windows:
56
runs-on: windows-latest
67
steps:
7-
- uses: actions/checkout@v4
8-
- uses: subosito/flutter-action@v2
9-
- run: flutter build windows --release
10-
- uses: actions/upload-artifact@v3
8+
- name: Checkout code
9+
uses: actions/checkout@v4
10+
11+
- name: Setup Flutter
12+
uses: subosito/flutter-action@v2
1113
with:
12-
name: WindowsBuild
14+
channel: stable
15+
cache: true
16+
17+
- name: Install dependencies
18+
run: flutter pub get
19+
20+
- name: Build Windows EXE
21+
run: flutter build windows --release
22+
23+
- name: Upload Artifact
24+
uses: actions/upload-artifact@v4
25+
with:
26+
name: WindowsExecutable
1327
path: build/windows/runner/Release/

0 commit comments

Comments
 (0)