File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ jobs:
106106 working-directory : packages/desktop-electron
107107 run : bun run build
108108
109- - name : Package
109+ - name : Package macOS (signed)
110+ if : runner.os == 'macOS' && env.APPLE_CERTIFICATE != '' && env.APPLE_CERTIFICATE_PASSWORD != ''
110111 working-directory : packages/desktop-electron
111112 timeout-minutes : 90
112113 env :
@@ -117,6 +118,20 @@ jobs:
117118 APPLE_API_ISSUER : ${{ env.APPLE_API_ISSUER }}
118119 run : npx electron-builder ${{ matrix.settings.platform_flag }} --publish never --config electron-builder.config.ts
119120
121+ - name : Package macOS (unsigned)
122+ if : runner.os == 'macOS' && (env.APPLE_CERTIFICATE == '' || env.APPLE_CERTIFICATE_PASSWORD == '')
123+ working-directory : packages/desktop-electron
124+ timeout-minutes : 90
125+ env :
126+ CSC_IDENTITY_AUTO_DISCOVERY : " false"
127+ run : npx electron-builder ${{ matrix.settings.platform_flag }} --publish never --config electron-builder.config.ts
128+
129+ - name : Package Windows
130+ if : runner.os == 'Windows'
131+ working-directory : packages/desktop-electron
132+ timeout-minutes : 90
133+ run : npx electron-builder ${{ matrix.settings.platform_flag }} --publish never --config electron-builder.config.ts
134+
120135 - name : Verify signed Windows artifacts
121136 if : runner.os == 'Windows'
122137 shell : pwsh
You can’t perform that action at this time.
0 commit comments