From d296463aba2dd8dcc40fa679a63a55a89a9c0f58 Mon Sep 17 00:00:00 2001 From: Diego Heras Date: Sun, 14 Jun 2020 14:29:23 +0200 Subject: [PATCH] core: fix azure pipeline (#8979) --- azure-pipelines.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f98718ea8..b78e39895 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -371,6 +371,15 @@ stages: version: $(netCoreSdkVersion) installationPath: $(Agent.ToolsDirectory)/dotnet + # this task is a workaround to fix a bug in Azure (not required under normal circumstances) + # https://developercommunity.visualstudio.com/content/problem/983843/dotnet-build-task-does-not-use-nugetorg-for-one-pr.html + - task: DotNetCoreCLI@2 + displayName: Restore Test Project + inputs: + command: restore + projects: '**/*.Test*/*.csproj' + includeNuGetOrg: true + - task: DotNetCoreCLI@2 displayName: Build Test Project inputs: