diff --git a/tools/ci_build/github/azure-pipelines/publish-nuget.yml b/tools/ci_build/github/azure-pipelines/publish-nuget.yml index 8ce7915da76d1..367977ff59192 100644 --- a/tools/ci_build/github/azure-pipelines/publish-nuget.yml +++ b/tools/ci_build/github/azure-pipelines/publish-nuget.yml @@ -29,6 +29,12 @@ stages: - checkout: self submodules: false + + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.9' + addToPath: true + - template: templates/set-version-number-variables-step.yml - script: mkdir "$(Build.BinariesDirectory)\nuget-artifact\final-package"