Skip to content

Commit 45ecfad

Browse files
committed
Skip code signing job if dependencies aren't available
1 parent 9e5f09c commit 45ecfad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.azure/pipelines/jobs/codesign-xplat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
codeSign: true
99
dependsOn:
1010
- ${{ parameters.inputName }}_build
11-
condition: in(variables['_SignType'], 'test', 'real')
11+
condition: and(in(variables['_SignType'], 'test', 'real'), in(dependencies.${{ parameters.inputName }}_build.result, 'Succeeded', 'SucceededWithIssues'))
1212
jobName: CodeSign_Xplat_${{ parameters.inputName }}
1313
jobDisplayName: "Code-sign ${{ parameters.inputName }} packages"
1414
agentOs: Windows

0 commit comments

Comments
 (0)