From 0cbe7eec5e4c8cdd7146a44a4a49236c99b54597 Mon Sep 17 00:00:00 2001 From: Jian Chen Date: Fri, 28 Jun 2024 19:49:54 -0700 Subject: [PATCH] Uppdate nuget to Use Nuget 6.10.x (#21209) ### Description Uppdate nuget to Use Nuget 6.10.x --- .../azure-pipelines/c-api-noopenmp-packaging-pipelines.yml | 4 ++-- .../github/azure-pipelines/nuget/templates/dml-vs-2022.yml | 4 ++-- .../github/azure-pipelines/nuget/templates/test_win.yml | 4 ++-- .../azure-pipelines/stages/nuget-cuda-packaging-stage.yml | 4 ++-- tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml | 4 ++-- .../azure-pipelines/templates/jobs/win-ci-vs-2022-job.yml | 4 ++-- .../templates/ondevice-training-cpu-packaging-pipeline.yml | 4 ++-- tools/ci_build/github/azure-pipelines/win-ci-fuzz-testing.yml | 4 ++-- 8 files changed, 16 insertions(+), 16 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 990d0c253c..3aadefecaa 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 @@ -307,9 +307,9 @@ stages: displayName: 'Create models link' - task: NuGetToolInstaller@0 - displayName: Use Nuget 6.2.1 + displayName: Use Nuget 6.10.x inputs: - versionSpec: 6.2.1 + versionSpec: 6.10.x - task: MSBuild@1 displayName: 'Restore NuGet Packages and create project.assets.json' diff --git a/tools/ci_build/github/azure-pipelines/nuget/templates/dml-vs-2022.yml b/tools/ci_build/github/azure-pipelines/nuget/templates/dml-vs-2022.yml index 344c9a8f14..f20a1ae3e1 100644 --- a/tools/ci_build/github/azure-pipelines/nuget/templates/dml-vs-2022.yml +++ b/tools/ci_build/github/azure-pipelines/nuget/templates/dml-vs-2022.yml @@ -135,9 +135,9 @@ stages: - task: NuGetToolInstaller@0 - displayName: Use Nuget 5.7.0 + displayName: Use Nuget 6.10.x inputs: - versionSpec: 5.7.0 + versionSpec: 6.10.x - task: MSBuild@1 displayName: 'Restore NuGet Packages' diff --git a/tools/ci_build/github/azure-pipelines/nuget/templates/test_win.yml b/tools/ci_build/github/azure-pipelines/nuget/templates/test_win.yml index c582a836c7..869374aa5a 100644 --- a/tools/ci_build/github/azure-pipelines/nuget/templates/test_win.yml +++ b/tools/ci_build/github/azure-pipelines/nuget/templates/test_win.yml @@ -45,9 +45,9 @@ stages: architecture: x64 - task: NuGetToolInstaller@0 - displayName: Use Nuget 5.7.0 + displayName: Use Nuget 6.10.x inputs: - versionSpec: 5.7.0 + versionSpec: 6.10.x - ${{ if ne( parameters.CudaVersion, '') }}: - template: ../../templates/jobs/download_win_gpu_library.yml parameters: diff --git a/tools/ci_build/github/azure-pipelines/stages/nuget-cuda-packaging-stage.yml b/tools/ci_build/github/azure-pipelines/stages/nuget-cuda-packaging-stage.yml index 18615b6ca1..424ed62372 100644 --- a/tools/ci_build/github/azure-pipelines/stages/nuget-cuda-packaging-stage.yml +++ b/tools/ci_build/github/azure-pipelines/stages/nuget-cuda-packaging-stage.yml @@ -76,9 +76,9 @@ stages: displayName: 'Create models link' - task: NuGetToolInstaller@0 - displayName: Use Nuget 6.2.1 + displayName: Use Nuget 6.10.x inputs: - versionSpec: 6.2.1 + versionSpec: 6.10.x - task: PowerShell@2 displayName: Install MAUI workloads diff --git a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml index c41f9589d8..7ba1179e7a 100644 --- a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml +++ b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml @@ -376,9 +376,9 @@ stages: workingDirectory: '$(Build.BinariesDirectory)' displayName: 'Create models link' - task: NuGetToolInstaller@0 - displayName: Use Nuget 6.2.1 + displayName: Use Nuget 6.10.x inputs: - versionSpec: 6.2.1 + versionSpec: 6.10.x - task: PowerShell@2 displayName: Install mobile workloads diff --git a/tools/ci_build/github/azure-pipelines/templates/jobs/win-ci-vs-2022-job.yml b/tools/ci_build/github/azure-pipelines/templates/jobs/win-ci-vs-2022-job.yml index fee4a82cea..9a35d7b75c 100644 --- a/tools/ci_build/github/azure-pipelines/templates/jobs/win-ci-vs-2022-job.yml +++ b/tools/ci_build/github/azure-pipelines/templates/jobs/win-ci-vs-2022-job.yml @@ -123,9 +123,9 @@ jobs: displayName: 'API Documentation Check and generate' - task: NuGetToolInstaller@0 - displayName: Use Nuget 5.7.0 + displayName: Use Nuget 6.10.x inputs: - versionSpec: 5.7.0 + versionSpec: 6.10.x - task: NuGetCommand@2 displayName: 'NuGet restore' diff --git a/tools/ci_build/github/azure-pipelines/templates/ondevice-training-cpu-packaging-pipeline.yml b/tools/ci_build/github/azure-pipelines/templates/ondevice-training-cpu-packaging-pipeline.yml index bc75a11532..fb9ff65fe8 100644 --- a/tools/ci_build/github/azure-pipelines/templates/ondevice-training-cpu-packaging-pipeline.yml +++ b/tools/ci_build/github/azure-pipelines/templates/ondevice-training-cpu-packaging-pipeline.yml @@ -191,9 +191,9 @@ stages: displayName: 'Create models link' - task: NuGetToolInstaller@0 - displayName: Use Nuget 6.2.1 + displayName: Use Nuget 6.10.x inputs: - versionSpec: 6.2.1 + versionSpec: 6.10.x - task: PowerShell@2 displayName: Install mobile workloads diff --git a/tools/ci_build/github/azure-pipelines/win-ci-fuzz-testing.yml b/tools/ci_build/github/azure-pipelines/win-ci-fuzz-testing.yml index d6fa5184f6..b5120f01bf 100644 --- a/tools/ci_build/github/azure-pipelines/win-ci-fuzz-testing.yml +++ b/tools/ci_build/github/azure-pipelines/win-ci-fuzz-testing.yml @@ -39,9 +39,9 @@ jobs: versionSpec: '18.x' - task: NuGetToolInstaller@0 - displayName: Use Nuget 5.7.0 + displayName: Use Nuget 6.10.x inputs: - versionSpec: 5.7.0 + versionSpec: 6.10.x - task: PythonScript@0 displayName: 'Generate cmake config'