From cb43c018af7bf5b3d19d3411d19de13e50887972 Mon Sep 17 00:00:00 2001 From: Stijn Moreels <9039753+stijnmoreels@users.noreply.github.com> Date: Fri, 15 Mar 2024 10:22:20 +0100 Subject: [PATCH] chore: add prev dotnet sdk to release pipeline (#439) --- build/nuget-release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/nuget-release.yml b/build/nuget-release.yml index a369c584..c0974a0a 100644 --- a/build/nuget-release.yml +++ b/build/nuget-release.yml @@ -31,6 +31,12 @@ stages: pool: vmImage: '$(Vm.Image)' steps: + - task: UseDotNet@2 + displayName: 'Import .NET Core SDK ($(DotNet.Sdk.PreviousVersion))' + inputs: + packageType: 'sdk' + version: '$(DotNet.Sdk.PreviousVersion)' + includePreviewVersions: $(DotNet.Sdk.IncludePreviewVersions) - template: build/build-solution.yml@templates parameters: dotnetSdkVersion: '$(DotNet.Sdk.Version)'