File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+ workflow_dispatch :
8+
9+ jobs :
10+ build-windows :
11+ runs-on : windows-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - uses : actions/setup-node@v4
15+ with :
16+ node-version : 20
17+ - run : npm ci
18+ - run : npx vite build
19+ - run : npx electron-builder --win --publish never
20+ - uses : actions/upload-artifact@v4
21+ with :
22+ name : ScriptPlayerPlus-Windows
23+ path : dist/win-unpacked/
24+
25+ build-mac :
26+ runs-on : macos-latest
27+ steps :
28+ - uses : actions/checkout@v4
29+ - uses : actions/setup-node@v4
30+ with :
31+ node-version : 20
32+ - run : npm ci
33+ - run : npx vite build
34+ - run : npx electron-builder --mac --publish never
35+ env :
36+ CSC_IDENTITY_AUTO_DISCOVERY : false
37+ - uses : actions/upload-artifact@v4
38+ with :
39+ name : ScriptPlayerPlus-Mac
40+ path : dist/*.zip
You can’t perform that action at this time.
0 commit comments