onnxruntime/tools/ci_build/github/azure-pipelines/templates/validate-package.yml
Jian Chen 85948d6bc6
Cjian/windows update python3.11 (#15243)
### Description
windows update python3.11



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

---------

Co-authored-by: Ubuntu <chasun@chasunlinux.lw3b1xzoyrkuzm34swpscft0ff.dx.internal.cloudapp.net>
2023-03-28 22:15:47 -07:00

21 lines
803 B
YAML

parameters:
PlatformsSupported: ''
VerifyNugetSigning: ''
PackageType: ''
PackageName: ''
PackagePath: ''
ScriptPath: '$(Build.SourcesDirectory)/tools/nuget/validate_package.py'
workingDirectory: "$(Build.BinariesDirectory)"
steps:
- task: UsePythonVersion@0
displayName: 'Use Python'
inputs:
versionSpec: 3.8
- task: PythonScript@0
displayName: 'Validate Package'
inputs:
scriptPath: '${{parameters.ScriptPath}}'
arguments: '--package_type ${{parameters.PackageType}} --package_name ${{parameters.PackageName}} --package_path ${{parameters.PackagePath}} --platforms_supported ${{parameters.PlatformsSupported}} --verify_nuget_signing ${{parameters.VerifyNugetSigning}}'
workingDirectory: ${{parameters.workingDirectory}}