diff --git a/tools/devops/automation/templates/sign-and-notarized/setup.yml b/tools/devops/automation/templates/sign-and-notarized/setup.yml index bd812770d6fd..26ab10f6c825 100644 --- a/tools/devops/automation/templates/sign-and-notarized/setup.yml +++ b/tools/devops/automation/templates/sign-and-notarized/setup.yml @@ -43,6 +43,10 @@ steps: # the ddsign plugin needs this version or it will crash and will make the sign step fail - ${{ if eq(parameters.isPR, false) }}: + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.x' + - task: UseDotNet@2 inputs: packageType: sdk