File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build Release
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ tags :
7+ - " v*"
8+
9+ jobs :
10+ build-linux :
11+ name : Build Linux
12+ runs-on : ubuntu-24.04
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - uses : actions/setup-node@v4
18+ with :
19+ node-version : 20
20+ cache : npm
21+
22+ - name : Install Linux dependencies
23+ run : |
24+ sudo apt update
25+ sudo apt install -y libsecret-1-dev rpm
26+
27+ - name : Install npm dependencies
28+ run : npm ci
29+
30+ - name : Build Linux packages
31+ run : npx electron-builder --linux AppImage deb rpm
32+
33+ - name : Upload Linux artifacts
34+ uses : actions/upload-artifact@v4
35+ with :
36+ name : zap-browser-linux
37+ path : |
38+ dist/*.AppImage
39+ dist/*.deb
40+ dist/*.rpm
41+ dist/latest-linux.yml
42+
43+ build-windows :
44+ name : Build Windows
45+ runs-on : windows-latest
46+
47+ steps :
48+ - uses : actions/checkout@v4
49+
50+ - uses : actions/setup-node@v4
51+ with :
52+ node-version : 20
53+ cache : npm
54+
55+ - name : Install npm dependencies
56+ run : npm ci
57+
58+ - name : Build Windows installer
59+ run : npx electron-builder --win nsis
60+
61+ - name : Upload Windows artifacts
62+ uses : actions/upload-artifact@v4
63+ with :
64+ name : zap-browser-windows
65+ path : |
66+ dist/*.exe
67+ dist/*.blockmap
68+ dist/latest.yml
You can’t perform that action at this time.
0 commit comments