From d3663d0d131b719adb56570b9bbdb8c88a5230e5 Mon Sep 17 00:00:00 2001 From: Robert Beekman Date: Mon, 16 Nov 2020 00:29:08 +0100 Subject: [PATCH] Update azure-pipelines-docfx.yml for Azure Pipelines --- ci/azure-pipelines-docfx.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/ci/azure-pipelines-docfx.yml b/ci/azure-pipelines-docfx.yml index f04d1aabd..a88324a72 100644 --- a/ci/azure-pipelines-docfx.yml +++ b/ci/azure-pipelines-docfx.yml @@ -16,12 +16,19 @@ variables: steps: - checkout: self -- task: NuGetToolInstaller@1 - -- task: NuGetCommand@2 - displayName: 'NuGet restore Artemis' +- task: UseDotNet@2 + displayName: 'Install .Net 5 SDK' inputs: - restoreSolution: '$(artemisSolution)' + packageType: 'sdk' + version: '5.0.100' + +- task: DotNetCoreCLI@2 + displayName: 'dotnet restore Artemis' + inputs: + command: 'restore' + projects: '$(artemisSolution)' + feedsToUse: 'config' + nugetConfigPath: '$(Pipeline.Workspace)/s/Artemis/src/NuGet.Config' - task: PowerShell@2 displayName: "DockFX build"