From 84a33e50e33f0f0661cd86f7784e11983ce73a36 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Tue, 4 Jan 2022 16:07:11 -0800 Subject: [PATCH] Change nuget release yaml to use UseDotNet task --- tools/releaseBuild/azureDevOps/templates/nuget.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/releaseBuild/azureDevOps/templates/nuget.yml b/tools/releaseBuild/azureDevOps/templates/nuget.yml index 2f583b52c4a3..b868c9dbdf78 100644 --- a/tools/releaseBuild/azureDevOps/templates/nuget.yml +++ b/tools/releaseBuild/azureDevOps/templates/nuget.yml @@ -51,10 +51,10 @@ jobs: Write-Host "##$vstsCommandString" displayName: 'Find SDK version from global.json' - - task: DotNetCoreInstaller@0 + - task: UseDotNet@2 displayName: 'Use .NET Core SDK from global.json' inputs: - version: '$(SDKVersion)' + useGlobalJson: true - task: DownloadBuildArtifacts@0 displayName: 'Download PowerShell build artifacts - finalResults'