@@ -13,12 +13,14 @@ jobs:
1313 build-windows :
1414 runs-on : windows-latest
1515 steps :
16- - uses : actions/checkout@v3
16+ - uses : actions/checkout@v4
1717
1818 - name : Setup Node.js
19- uses : actions/setup-node@v3
19+ uses : actions/setup-node@v4
2020 with :
2121 node-version : ' 18'
22+ cache : ' npm'
23+ cache-dependency-path : package-lock.json
2224
2325 - name : Install dependencies
2426 run : npm ci
@@ -32,17 +34,22 @@ jobs:
3234 uses : actions/upload-artifact@v4
3335 with :
3436 name : windows-installer
35- path : dist/*.exe
37+ path : |
38+ dist/**/*.exe
39+ dist/**/*.msi
40+ dist/**/*.zip
3641
3742 build-macos :
3843 runs-on : macos-latest
3944 steps :
40- - uses : actions/checkout@v3
45+ - uses : actions/checkout@v4
4146
4247 - name : Setup Node.js
43- uses : actions/setup-node@v3
48+ uses : actions/setup-node@v4
4449 with :
4550 node-version : ' 18'
51+ cache : ' npm'
52+ cache-dependency-path : package-lock.json
4653
4754 - name : Install dependencies
4855 run : npm ci
@@ -57,17 +64,21 @@ jobs:
5764 uses : actions/upload-artifact@v4
5865 with :
5966 name : macos-installer
60- path : dist/*.dmg
67+ path : |
68+ dist/**/*.dmg
69+ dist/**/*.zip
6170
6271 build-linux :
6372 runs-on : ubuntu-latest
6473 steps :
65- - uses : actions/checkout@v3
74+ - uses : actions/checkout@v4
6675
6776 - name : Setup Node.js
68- uses : actions/setup-node@v3
77+ uses : actions/setup-node@v4
6978 with :
7079 node-version : ' 18'
80+ cache : ' npm'
81+ cache-dependency-path : package-lock.json
7182
7283 - name : Install dependencies
7384 run : npm ci
8293 with :
8394 name : linux-installer
8495 path : |
85- dist/*.AppImage
86- dist/*.deb
87- dist/*.rpm
96+ dist/**/* .AppImage
97+ dist/**/* .deb
98+ dist/**/* .rpm
8899
89100 create-release :
90101 needs : [build-windows, build-macos, build-linux]
95106 uses : actions/download-artifact@v4
96107
97108 - name : Create Release
98- uses : softprops/action-gh-release@v1
109+ uses : softprops/action-gh-release@v2
99110 with :
100111 files : |
101112 windows-installer/*
0 commit comments