From 96da5bb5ea7e85759152e3264d09210174dcf8f3 Mon Sep 17 00:00:00 2001 From: Akos Kitta <1405703+kittaakos@users.noreply.github.com> Date: Thu, 13 Apr 2023 17:53:43 +0200 Subject: [PATCH] fix: updated to `electron-builder@23.6.0` (#1986) - updated to `electron-builder@23.6.0` - set `CSC_FOR_PULL_REQUEST` env to run notarization for a PR build. Signed-off-by: Akos Kitta --- .github/workflows/build.yml | 1 + electron/build/template-package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1113042e..6213a4a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -99,6 +99,7 @@ jobs: export CSC_LINK="${{ runner.temp }}/signing_certificate.${{ matrix.config.certificate-extension }}" echo "${{ secrets[matrix.config.certificate-secret] }}" | base64 --decode > "$CSC_LINK" export CSC_KEY_PASSWORD="${{ secrets[matrix.config.certificate-password-secret] }}" + export CSC_FOR_PULL_REQUEST=true fi if [ "${{ runner.OS }}" = "Windows" ]; then diff --git a/electron/build/template-package.json b/electron/build/template-package.json index f3692a41..a835ee23 100644 --- a/electron/build/template-package.json +++ b/electron/build/template-package.json @@ -3,7 +3,7 @@ "author": "Arduino SA", "resolutions": { "**/fs-extra": "^4.0.3", - "electron-builder": "23.0.2" + "electron-builder": "23.6.0" }, "dependencies": { "node-log-rotate": "^0.1.5" @@ -11,7 +11,7 @@ "devDependencies": { "@theia/cli": "1.31.1", "cross-env": "^7.0.2", - "electron-builder": "23.3.3", + "electron-builder": "23.6.0", "electron-notarize": "^1.1.1", "is-ci": "^2.0.0", "ncp": "^2.0.0",