From 895b80c4f6defa472be8f1380606d55da2b311b3 Mon Sep 17 00:00:00 2001 From: Sam Xu Date: Thu, 6 Jan 2022 13:39:22 -0800 Subject: [PATCH] Add .NET Core 3.x SDK into nightly.yml for Azure Pipelines --- build/azure-pipelines-nightly.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/azure-pipelines-nightly.yml b/build/azure-pipelines-nightly.yml index 147d96e..a8c2542 100644 --- a/build/azure-pipelines-nightly.yml +++ b/build/azure-pipelines-nightly.yml @@ -65,6 +65,12 @@ steps: projects: '$(Build.SourcesDirectory)\test\Microsoft.OData.ModelBuilder.Tests\Microsoft.OData.ModelBuilder.Tests.csproj' arguments: '--configuration $(BuildConfiguration) --no-incremental' +- task: UseDotNet@2 + displayName: Use .NET 3.x + inputs: + packageType: 'sdk' + version: '3.x' + # Run the Unit test - task: DotNetCoreCLI@2 displayName: 'Unit Tests (Microsoft.OData.ModelBuilder.Tests.csproj) '