From 4b19849c3781d72f33a1e1d60e09ecb5845c169b Mon Sep 17 00:00:00 2001 From: Baiju Meswani Date: Mon, 5 Feb 2024 20:44:07 +0000 Subject: [PATCH] Change variable to parameter --- .../azure-pipelines/templates/packaging-pipeline-steps.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/packaging-pipeline-steps.yml b/tools/ci_build/github/azure-pipelines/templates/packaging-pipeline-steps.yml index b9742ae..3ee3e19 100644 --- a/tools/ci_build/github/azure-pipelines/templates/packaging-pipeline-steps.yml +++ b/tools/ci_build/github/azure-pipelines/templates/packaging-pipeline-steps.yml @@ -44,7 +44,7 @@ steps: workingDirectory: $(Build.SourcesDirectory) - task: CopyFiles@2 - condition: and(succeeded(), eq(variables.UploadWheel, 'yes')) + condition: and(succeeded(), eq("${{ parameters.UploadWheel }}", 'yes')) displayName: 'Copy Python Wheel to: $(Build.ArtifactStagingDirectory)' inputs: SourceFolder: '$(Build.SourcesDirectory)' @@ -81,7 +81,7 @@ steps: displayName: "docker run build.py --wheel_file /torch_ort_src/dist/$whlfilename" - task: AzureCLI@2 - condition: and(succeeded(), eq(variables.UploadWheel, 'yes'), eq(variables.BuildType, 'nightly')) + condition: and(succeeded(), eq("${{ parameters.UploadWheel }}", 'yes'), eq("${{ parameters.BuildType }}", 'nightly')) inputs: azureSubscription: 'AIInfraBuildOnnxRuntimeOSS' scriptType: 'bash'