We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a92721a commit 2a63f2dCopy full SHA for 2a63f2d
1 file changed
.github/workflows/build-windows.yaml
@@ -0,0 +1,33 @@
1
+name: Build Flutter Windows App
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
7
+jobs:
8
+ build-windows:
9
+ runs-on: windows-latest
10
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v4
14
15
+ - name: Setup Flutter
16
+ uses: subosito/flutter-action@v2
17
+ with:
18
+ flutter-version: 'stable'
19
20
+ - name: Enable Windows Desktop
21
+ run: flutter config --enable-windows-desktop
22
23
+ - name: Install dependencies
24
+ run: flutter pub get
25
26
+ - name: Build Windows app
27
+ run: flutter build windows
28
29
+ - name: Upload artifact
30
+ uses: actions/upload-artifact@v4
31
32
+ name: windows-build
33
+ path: build/windows/x64/runner/Release/
0 commit comments