File tree Expand file tree Collapse file tree 2 files changed +48
-7
lines changed
Expand file tree Collapse file tree 2 files changed +48
-7
lines changed Original file line number Diff line number Diff line change 1+ name : " prbuild"
2+ on :
3+ pull_request :
4+ branches :
5+ - main
6+
7+ jobs :
8+ package :
9+ strategy :
10+ matrix :
11+ platform : [windows-latest, macos-26]
12+ go-version : [1.25]
13+ runs-on : ${{ matrix.platform }}
14+ steps :
15+ - uses : actions/checkout@v6
16+ - name : Install Go
17+ uses : actions/setup-go@v6
18+ with :
19+ go-version : ${{ matrix.go-version }}
20+ - name : setup node
21+ uses : actions/setup-node@v6
22+ with :
23+ node-version : 22
24+ - name : Setup pnpm
25+ uses : pnpm/action-setup@v4
26+ with :
27+ version : 10
28+ - name : Get Wails
29+ run : go install github.com/wailsapp/wails/v2/cmd/wails@latest
30+ - name : Build Wails app
31+ run : |
32+ wails build
33+ - name : upload artifacts macOS
34+ if : matrix.platform == 'macos-26'
35+ uses : actions/upload-artifact@v4
36+ with :
37+ name : VisionFlow-macos
38+ path : build/bin/*
39+ - name : upload artifacts windows
40+ if : matrix.platform == 'windows-latest'
41+ uses : actions/upload-artifact@v4
42+ with :
43+ name : VisionFlow-windows
44+ path : build/bin/*
Original file line number Diff line number Diff line change 11name : " release"
22on :
33 workflow_dispatch :
4- pull_request :
5- branches :
6- - main
74 push :
85 tags :
96 - ' v*'
2623 package :
2724 strategy :
2825 matrix :
29- platform : [windows-latest, macos-latest ]
26+ platform : [windows-latest, macos-26 ]
3027 go-version : [1.25]
3128 runs-on : ${{ matrix.platform }}
3229 steps :
@@ -49,13 +46,13 @@ jobs:
4946 run : |
5047 wails build
5148 - name : upload artifacts macOS
52- if : matrix.platform == 'macos-latest '
49+ if : matrix.platform == 'macos-26 '
5350 uses : actions/upload-artifact@v4
5451 with :
5552 name : VisionFlow-macos
5653 path : build/bin/*
5754 - name : archive application
58- if : matrix.platform == 'macos-latest '
55+ if : matrix.platform == 'macos-26 '
5956 run : |
6057 cd build/bin
6158 zip -r ../../VisionFlow-macos.zip VisionFlow.app
6663 name : VisionFlow-windows
6764 path : build/bin/*
6865 - name : Upload release macOS
69- if : matrix.platform == 'macos-latest '
66+ if : matrix.platform == 'macos-26 '
7067 uses : ncipollo/release-action@v1
7168 with :
7269 artifacts : VisionFlow-macos.zip
You can’t perform that action at this time.
0 commit comments