File tree Expand file tree Collapse file tree 3 files changed +51
-19
lines changed
Expand file tree Collapse file tree 3 files changed +51
-19
lines changed Original file line number Diff line number Diff line change @@ -170,23 +170,23 @@ jobs:
170170 name : windows-electron-built
171171 path : dist
172172
173- # - name: Download macos x64 binary
174- # uses: actions/download-artifact@v4
175- # with:
176- # name: mac-x64-electron-built
177- # path: dist
178-
179- # - name: Download macos arm64 binary
180- # uses: actions/download-artifact@v4
181- # with:
182- # name: mac-arm64-electron-built
183- # path: dist
184-
185- # - name: Download linux binary
186- # uses: actions/download-artifact@v4
187- # with:
188- # name: linux-electron-built
189- # path: dist
173+ - name : Download macos x64 binary
174+ uses : actions/download-artifact@v4
175+ with :
176+ name : mac-x64-electron-built
177+ path : dist
178+
179+ - name : Download macos arm64 binary
180+ uses : actions/download-artifact@v4
181+ with :
182+ name : mac-arm64-electron-built
183+ path : dist
184+
185+ - name : Download linux binary
186+ uses : actions/download-artifact@v4
187+ with :
188+ name : linux-electron-built
189+ path : dist
190190
191191 - name : Setup resources
192192 id : version
Original file line number Diff line number Diff line change 1+ name : " Run ESLint"
2+
3+ on :
4+ push :
5+
6+ jobs :
7+ lint :
8+ name : " Run ESLint"
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout Repository
13+ uses : actions/checkout@v4
14+
15+ - name : Setup pnpm
16+ uses : pnpm/action-setup@v4
17+
18+ - name : Setup node
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version-file : .node-version
22+ cache : pnpm
23+
24+ - name : Install dependencies
25+ run : |
26+ pnpm i
27+
28+ - name : Run Lint
29+ run : |
30+ pnpm lint
Original file line number Diff line number Diff line change 1- const { ossign } = require ( '@ossign/electronbuilder' ) ;
1+ /* eslint-disable @typescript-eslint/no-require-imports */
2+
3+ const { ossign } = require ( "@ossign/electronbuilder" ) ;
24/**
35 * @type {import('electron-builder').Configuration }
46 */
@@ -19,7 +21,7 @@ module.exports = {
1921 win : {
2022 target : [ "nsis" , "portable" ] ,
2123 icon : "public/icon.ico" ,
22- sign : ossign
24+ sign : process . env . OSSIGN_CONFIG ? ossign : undefined ,
2325 } ,
2426 nsis : {
2527 oneClick : false ,
You can’t perform that action at this time.
0 commit comments