core: fix azure pipeline (#8979)

This commit is contained in:
Diego Heras 2020-06-14 14:29:23 +02:00 committed by GitHub
parent a7d6cafbc6
commit d296463aba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -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: