Remove deprecated notarize.teamId and add retry logic

This commit is contained in:
Pierre Jacquier
2025-01-02 09:26:42 -05:00
parent 1a8ab59b6b
commit 6ff98d784d
2 changed files with 5 additions and 3 deletions

View File

@ -176,7 +176,10 @@ jobs:
CSC_KEYCHAIN: ${{ secrets.APPLE_SIGNING_IDENTITY }}
WINDOWS_CERTIFICATE_THUMBPRINT: ${{ secrets.WINDOWS_CERTIFICATE_THUMBPRINT }}
DEBUG: "electron-notarize*"
run: yarn electron-builder --config --publish always
run: |
electron_builder_command="yarn electron-builder --config --publish always"
# Retry once on failure as mac notarization can be flaky
$electron_builder_command || $electron_builder_command
- name: List artifacts in out/
run: ls -R out

View File

@ -16,8 +16,7 @@ mac:
arch:
- x64
- arm64
notarize:
teamId: 92H8YB3B95
notarize: true
fileAssociations:
- ext: kcl
name: kcl