File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ release :
10+ runs-on : ${{ matrix.os }}
11+ strategy :
12+ matrix :
13+ os : [macos-latest, ubuntu-latest, windows-latest]
14+
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - name : Setup Node.js
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : ' 20'
22+ cache : ' npm'
23+
24+ - name : Install dependencies
25+ run : npm ci
26+
27+ - name : Build
28+ run : npm run build
29+
30+ - name : Make
31+ run : npm run make
32+
33+ - name : Upload artifacts
34+ uses : actions/upload-artifact@v4
35+ with :
36+ name : release-${{ matrix.os }}
37+ path : out/make/**/*
38+
39+ publish :
40+ needs : release
41+ runs-on : ubuntu-latest
42+ permissions :
43+ contents : write
44+
45+ steps :
46+ - name : Download all artifacts
47+ uses : actions/download-artifact@v4
48+ with :
49+ path : artifacts
50+
51+ - name : Create Release
52+ uses : softprops/action-gh-release@v2
53+ with :
54+ files : artifacts/**/*
55+ generate_release_notes : true
You can’t perform that action at this time.
0 commit comments