Skip to content

Commit

Permalink
Change variable to parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
baijumeswani committed Feb 5, 2024
1 parent 90bbbbd commit 4b19849
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 4b19849

Please sign in to comment.