Skip to content

Commit ce9d881

Browse files
committed
Fix electron-builder config for unsigned CI builds
- Add electron-builder.ci.yml with identity: null for CI builds - Use CI config file instead of CLI args (which don't work for null values) - Keeps main electron-builder.yml unchanged for local signed builds
1 parent 2ff01a6 commit ce9d881

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/build-release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,9 @@ jobs:
4545
run: bun run build
4646

4747
- name: Package for macOS (unsigned)
48-
run: |
49-
# Build without code signing for self-hosted releases
50-
bun run package:mac -- \
51-
--config.mac.identity=null \
52-
--config.mac.notarize=null
48+
run: bun run package:mac --config electron-builder.ci.yml
5349
env:
54-
# Disable signing
50+
# Disable code signing for self-hosted releases
5551
CSC_IDENTITY_AUTO_DISCOVERY: false
5652

5753
- name: Generate update manifests

electron-builder.ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# electron-builder config for CI builds (no code signing)
2+
# Used by GitHub Actions for self-hosted fork builds
3+
4+
mac:
5+
identity: null

0 commit comments

Comments
 (0)