From d9ca84ef96bae72da9ebcac5c591faca8dd52e78 Mon Sep 17 00:00:00 2001 From: Kyle <92152685+idiskyle@users.noreply.github.com> Date: Thu, 24 Oct 2024 16:55:36 +0800 Subject: [PATCH] Add DoEsrp Check for Signature Verification (#22570) ### Description Add DoEsrp Check for Signature Verification ### Motivation and Context --- tools/ci_build/github/azure-pipelines/templates/win-esrp-dll.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/ci_build/github/azure-pipelines/templates/win-esrp-dll.yml b/tools/ci_build/github/azure-pipelines/templates/win-esrp-dll.yml index 8a386963a89dd..86acebc9f7a71 100644 --- a/tools/ci_build/github/azure-pipelines/templates/win-esrp-dll.yml +++ b/tools/ci_build/github/azure-pipelines/templates/win-esrp-dll.yml @@ -67,6 +67,7 @@ steps: - task: PowerShell@2 displayName: 'Signature validation for signed file(s)' + condition: and(succeeded(), eq('${{ parameters.DoEsrp }}', true)) inputs: targetType: 'inline' script: |