From 27f8fa6b7a21ae468dde04fdce88fb0c9fa10a23 Mon Sep 17 00:00:00 2001 From: Codinion Date: Wed, 16 Mar 2022 20:55:56 +0100 Subject: [PATCH] Update build.yml for Azure Pipelines --- build/build.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/build/build.yml b/build/build.yml index 29b1152..aae9f8b 100644 --- a/build/build.yml +++ b/build/build.yml @@ -13,6 +13,15 @@ variables: buildConfiguration: 'Release' steps: + +- task: UseDotNet@2 + displayName: 'Install .NET Core' + inputs: + packageType: 'sdk' + version: '6.x' + includePreviewVersions: true + performMultiLevelLookup: true + - task: GitVersion@5 inputs: runtime: 'core' @@ -25,13 +34,7 @@ steps: Action: '##vso[build.updatebuildnumber]' BuildVersion: $(GitVersion.NuGetVersionV2) -- task: UseDotNet@2 - displayName: 'Install .NET Core' - inputs: - packageType: 'sdk' - version: '6.x' - includePreviewVersions: true - performMultiLevelLookup: true + - task: NuGetToolInstaller@1 inputs: