Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,15 @@ jobs:
run: npx electron-builder --${{ matrix.platform }} --publish always
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
# Signing/notarization is macOS-only. These MUST be gated to the mac runner:
# CSC_LINK is electron-builder's generic code-signing variable, so leaving it set
# on the Windows runner makes electron-builder Authenticode-sign the .exe with the
# Apple Developer ID cert, which Windows cannot validate and which breaks
# electron-updater. Windows and Linux ship unsigned by design.
CSC_LINK: ${{ matrix.platform == 'mac' && secrets.CSC_LINK || '' }}
CSC_KEY_PASSWORD: ${{ matrix.platform == 'mac' && secrets.CSC_KEY_PASSWORD || '' }}
APPLE_API_KEY_ID: ${{ matrix.platform == 'mac' && secrets.APPLE_API_KEY_ID || '' }}
APPLE_API_ISSUER: ${{ matrix.platform == 'mac' && secrets.APPLE_API_ISSUER || '' }}

- name: Checkpoint installers as a workflow artifact
# electron-builder builds and uploads to the release in one step. If the
Expand Down
1 change: 1 addition & 0 deletions electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
],
"win": {
"icon": "resources/icons/icon.ico",
"verifyUpdateCodeSignature": false,
"target": [
{
"target": "nsis",
Expand Down