Skip to content

Commit 0294703

Browse files
feat: ossignの分岐を追加
1 parent 1fdbdcd commit 0294703

File tree

3 files changed

+51
-19
lines changed

3 files changed

+51
-19
lines changed

.github/workflows/build-production.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/lint.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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

electron-builder.config.cjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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,

0 commit comments

Comments
 (0)