Skip to content

Commit

Permalink
Add UsePython Task in Nuget Publish workflow (#21144)
Browse files Browse the repository at this point in the history
### Description
Otherwise it would fail in 

https://github.com/microsoft/onnxruntime/blob/b95982e588e2d433958aa9aa82557b714ec4e3de/tools/ci_build/github/azure-pipelines/publish-nuget.yml#L78-L81



### Motivation and Context
The Windows CPU image is migrated  to managed image


### Verification Link
https://dev.azure.com/aiinfra/Lotus/_build?definitionId=1313
  • Loading branch information
mszhanyi authored Jun 24, 2024
1 parent b95982e commit 5b5ce0b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/ci_build/github/azure-pipelines/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5b5ce0b

Please sign in to comment.