Add UsePython task in Nuget_Packaging_CPU stage (#21095)

### Description
supplement of https://github.com/microsoft/onnxruntime/pull/21062



### Motivation and Context
This commit is contained in:
Yi Zhang 2024-06-19 21:09:37 +08:00 committed by GitHub
parent 50b49642d5
commit cc3168bcbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -413,6 +413,11 @@ stages:
DisplayName: 'ESRP - Sign C# dlls'
DoEsrp: ${{ parameters.DoEsrp }}
- task: UsePythonVersion@0
displayName: 'Use Python'
inputs:
versionSpec: 3.8
- task: MSBuild@1
displayName: 'Build Nuget Packages'
inputs: