Skip to content

Commit 62be436

Browse files
committed
fix: skip code signing in CI — no certs configured yet (unsigned builds)
1 parent dc7f4c5 commit 62be436

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/build-helper.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,19 +143,14 @@ jobs:
143143
max_attempts: 3
144144
env:
145145
USE_SYSTEM_FPM: true # Ensure that the installed version of FPM is used rather than the bundled one.
146-
CSC_LINK: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_CERTIFICATE_2}}
147-
CSC_KEY_PASSWORD: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_CERTIFICATE_PWD_2 }}
148-
APPLE_ID: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_NOTARIZATION_APPLE_ID_2 }}
149-
APPLE_APP_SPECIFIC_PASSWORD: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_NOTARIZATION_PWD_2 }}
150-
APPLE_TEAM_ID: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_NOTARIZATION_TEAM_ID_2 }}
146+
CSC_IDENTITY_AUTO_DISCOVERY: "false"
151147
STATIC_DOCSITE_PATH: ${{env.STATIC_DOCSITE_PATH}}
152148
- name: Build (Windows)
153149
if: matrix.platform == 'windows'
154150
run: task package
155151
env:
156152
USE_SYSTEM_FPM: true # Ensure that the installed version of FPM is used rather than the bundled one.
157-
CSC_LINK: ${{ steps.variables.outputs.SM_CLIENT_CERT_FILE }}
158-
CSC_KEY_PASSWORD: ${{ secrets.SM_CLIENT_CERT_PASSWORD }}
153+
CSC_IDENTITY_AUTO_DISCOVERY: "false"
159154
STATIC_DOCSITE_PATH: ${{env.STATIC_DOCSITE_PATH}}
160155
shell: powershell # electron-builder's Windows code signing package has some compatibility issues with pwsh, so we need to use Windows Powershell
161156

0 commit comments

Comments
 (0)