-
Notifications
You must be signed in to change notification settings - Fork 21
45 lines (34 loc) · 1.03 KB
/
msix.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
name: MSIX
on:
push:
branches: [release]
jobs:
build:
runs-on: windows-latest
defaults:
run:
shell: bash
steps:
- name: Set Git to use LF
run: |
git config --global core.autocrlf input
git config --global core.eol lf
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.24.3'
- name: Export environment valuables
run: export
- name: Create App version
run: git fetch --tags; git tag; git log -n1; bash -x ./version.sh
- name: Print Flutter SDK version
run: flutter --version
- name: Install dependencies
run: bash -x ./flutter-windows-init.sh
- name: Build msix
run: cd src/ui/flutter_app; flutter build windows --release -v; dart run msix:create
- name: Archive msix
uses: actions/upload-artifact@v4
with:
name: sanmill-msix
path: src/ui/flutter_app/build/windows/x64/runner/Release/sanmill.msix