File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build on windows
2+
3+ env :
4+ # Common versions
5+ GO_VERSION : ' 1.22'
6+ TZ : Asia/Shanghai
7+
8+ permissions : write-all
9+
10+ on :
11+ push :
12+ branches :
13+ - ' *'
14+ # paths:
15+ # - '**.go'
16+ # - 'go.mod'
17+ # - '.github/workflows/*.yml'
18+ # pull_request:
19+ # branches:
20+ # - "*"
21+ # paths:
22+ # - '**.go'
23+
24+ jobs :
25+ build :
26+ name : " build"
27+ timeout-minutes : 20
28+ runs-on : windows-latest
29+ steps :
30+ - name : Checkout
31+ uses : actions/checkout@v4
32+ - name : Setup Go
33+ uses : actions/setup-go@v5
34+ with :
35+ go-version : ${{ env.GO_VERSION }}
36+ check-latest : true
37+ - uses : actions/setup-node@v4
38+ with :
39+ node-version : ' 20'
40+ - name : install global dependencies
41+ run : |
42+ npm install -g yarn
43+ npm install -g electron-forge
44+ - name : install tools
45+ run : |
46+ echo "install tools"
47+ go install github.com/kevinburke/go-bindata/v4/...@latest
48+ - name : Release
49+ run : |
50+ cd ui && yarn install && cd ..
51+ cd client && yarn install && cd ..
52+ make compile_ui
53+ make default
You can’t perform that action at this time.
0 commit comments