From ea4a5eea18d6fc35256f4eb92237d1be1c82e3d1 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Thu, 14 Mar 2024 07:55:00 -0700 Subject: [PATCH] Change nuget pipeline's "Final_Jar_Testing_Windows_GPU" job to download TRT binaries in every build (#19909) ### Description Change nuget pipeline's "Final_Jar_Testing_Windows_GPU" job to download TRT binaries in every build. Now all the other build jobs are already doing this. This is the only one left. ### Motivation and Context As a follow up of #19118 --- .../c-api-noopenmp-packaging-pipelines.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/c-api-noopenmp-packaging-pipelines.yml b/tools/ci_build/github/azure-pipelines/c-api-noopenmp-packaging-pipelines.yml index 5a50a9964bead..01f316dbbaaef 100644 --- a/tools/ci_build/github/azure-pipelines/c-api-noopenmp-packaging-pipelines.yml +++ b/tools/ci_build/github/azure-pipelines/c-api-noopenmp-packaging-pipelines.yml @@ -394,12 +394,11 @@ stages: steps: - template: templates/set-version-number-variables-step.yml - - task: BatchScript@1 - displayName: 'setup env' - inputs: - filename: '$(Build.SourcesDirectory)\tools\ci_build\github\windows\setup_env_cuda.bat' - modifyEnvironment: true - workingFolder: '$(Build.BinariesDirectory)' + - template: templates/jobs/download_win_gpu_library.yml + parameters: + CudaVersion: ${{ parameters.CudaVersion }} + DownloadCUDA: true + DownloadTRT: true - template: templates\flex-downloadPipelineArtifact.yml parameters: