Skip to content

Commit

Permalink
Another try
Browse files Browse the repository at this point in the history
  • Loading branch information
baijumeswani committed Feb 5, 2024
1 parent aa5701c commit 53a1f60
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ parameters:
type: string
default: ""

variables:
- name: UploadWheel
value: ${{ parameters.UploadWheel}}
- name: BuildType
value: ${{ parameters.BuildType}}


steps:

- template: set-python-manylinux-variables-step.yml
Expand Down Expand Up @@ -44,7 +51,7 @@ steps:
workingDirectory: $(Build.SourcesDirectory)

- task: CopyFiles@2
condition: and(succeeded(), eq(parameters['UploadWheel'], 'yes'))
condition: and(succeeded(), eq(variables.UploadWheel, 'yes'))
displayName: 'Copy Python Wheel to: $(Build.ArtifactStagingDirectory)'
inputs:
SourceFolder: '$(Build.SourcesDirectory)'
Expand Down Expand Up @@ -81,7 +88,7 @@ steps:
displayName: "docker run build.py --wheel_file /torch_ort_src/dist/$whlfilename"

- task: AzureCLI@2
condition: and(succeeded(), eq(parameters['UploadWheel'], 'yes'), eq(parameters['BuildType'], 'nightly'))
condition: and(succeeded(), eq(variables.UploadWheel, 'yes'), eq(variables.BuildType, 'nightly'))
inputs:
azureSubscription: 'AIInfraBuildOnnxRuntimeOSS'
scriptType: 'bash'
Expand Down

0 comments on commit 53a1f60

Please sign in to comment.