File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
tools/ci_build/github/azure-pipelines Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -224,10 +224,12 @@ stages:
224
224
workingDirectory: $(Build.SourcesDirectory)
225
225
226
226
# For verification we will check the generated image looks .
227
+ # Because the artifact isn't used by other jobs, we set the artifact name to a varabile value.
228
+ # So the job can be rerun without the exception that artifact has been published.
227
229
- task : PublishPipelineArtifact@0
228
- displayName : ' Publish code coverage report '
230
+ displayName : ' Publish Generated Image Artifact '
229
231
inputs :
230
- artifactName : " Generated-Image"
232
+ artifactName : Generated-Image-$(System.JobAttempt)
231
233
targetPath : ' $(GenerateImage_DIR)'
232
234
233
235
- task : Cache@2
Original file line number Diff line number Diff line change @@ -88,7 +88,12 @@ stages:
88
88
workspace :
89
89
clean : all
90
90
pool : ' Onnxruntime-Linux-GPU'
91
-
91
+ variables :
92
+ - name : CUDA_VERSION_MAJOR
93
+ ${{ if eq(parameters.CudaVersion, '11.8') }} :
94
+ value : ' 11'
95
+ ${{ if eq(parameters.CudaVersion, '12.2') }} :
96
+ value : ' 12'
92
97
steps :
93
98
- checkout : self # due to checkout multiple repos, the root directory is $(Build.SourcesDirectory)/onnxruntime
94
99
submodules : false
@@ -180,4 +185,4 @@ stages:
180
185
artifactName : ' onnxruntime-linux-x64-gpu'
181
186
- template : ../templates/component-governance-component-detection-steps.yml
182
187
parameters :
183
- condition : ' succeeded'
188
+ condition : ' succeeded'
You can’t perform that action at this time.
0 commit comments