File tree Expand file tree Collapse file tree 1 file changed +22
-8
lines changed
Expand file tree Collapse file tree 1 file changed +22
-8
lines changed Original file line number Diff line number Diff line change 1- name : Build Windows
2- on : push
1+ name : Build Windows EXE
2+ on : [push, workflow_dispatch]
3+
34jobs :
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/
You can’t perform that action at this time.
0 commit comments