-
-
Notifications
You must be signed in to change notification settings - Fork 166
48 lines (41 loc) · 1 KB
/
build-windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Build Windows
on:
push:
branches:
- main
paths:
- '.github/workflows/build-windows.yml'
- 'packages/**'
- 'windows/**'
- 'lib/**'
- 'assets/**'
- 'pubspec.yaml'
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.22.2'
- name: Install dependencies
run: |
choco install -y cmake ninja
- name: Install Vulkan SDK
uses: humbletim/[email protected]
with:
version: latest
cache: true
- name: Build Windows App
run: |
flutter pub get
flutter build windows -v
- name: Upload Windows Build
uses: actions/upload-artifact@v4
with:
name: maid-windows
path: build/windows/x64/bundle