File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -286,6 +286,8 @@ jobs:
286
286
SIGNTOOL_PATH : " C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/signtool.exe"
287
287
WIN_CERT_PASSWORD : ${{ secrets.INSTALLER_CERT_WINDOWS_PASSWORD }}
288
288
WIN_CERT_CONTAINER_NAME : ${{ secrets.INSTALLER_CERT_WINDOWS_CONTAINER }}
289
+ WIN_SIGNING_ENABLED : ${{ !github.event.pull_request.head.repo.fork }}
290
+
289
291
strategy :
290
292
matrix :
291
293
config : ${{ fromJson(needs.select-targets.outputs.build-matrix) }}
Original file line number Diff line number Diff line change 1
1
const childProcess = require ( 'child_process' ) ;
2
2
3
3
exports . default = async function ( configuration ) {
4
- if ( ! process . env . GITHUB_ACTIONS ) {
4
+ console . log (
5
+ 'process.env.WIN_SIGNING_ENABLED' ,
6
+ process . env . WIN_SIGNING_ENABLED
7
+ ) ;
8
+ if ( ! process . env . GITHUB_ACTIONS || ! process . env . WIN_SIGNING_ENABLED ) {
5
9
return ;
6
10
}
7
11
You can’t perform that action at this time.
0 commit comments