onnxruntime/tools/ci_build/github/azure-pipelines/templates/validate-package.yml
Chi Lo 1f576e1766
Detect necessary files inside GPU packages (#8955)
* Rename files

* Update YAML files

* Update validation script and YAML
2021-09-03 13:28:28 -07:00

20 lines
760 B
YAML

parameters:
PlatformsSupported: ''
VerifyNugetSigning: ''
PackageType: ''
PackageName: ''
PackagePath: ''
workingDirectory: "$(Build.BinariesDirectory)"
steps:
- task: UsePythonVersion@0
displayName: 'Use Python'
inputs:
versionSpec: 3.7
- task: PythonScript@0
displayName: 'Validate Package'
inputs:
scriptPath: '$(Build.SourcesDirectory)/tools/nuget/validate_package.py'
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}}