From e0788896d4beffd49b141a58f127530d57219376 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 10 May 2023 13:38:48 +0200 Subject: [PATCH] Use preinstalled .NET in CI runner --- azure-pipelines.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4738052bf..713592b83 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,8 +13,6 @@ pool: variables: Build.Configuration: Release - DotNet.Tools: $(Agent.ToolsDirectory)/dotnet - DotNet.Version: 7.0.x jobs: - job: BuildBits @@ -22,23 +20,6 @@ jobs: timeoutInMinutes: 60 steps: - # Cache .NET SDKs and Tools across pipeline runs - - task: Cache@2 - displayName: Cache .NET SDKs - inputs: - key: 'dotnet | "$(Agent.OS)" | "$(DotNet.Version)"' - restoreKeys: | - dotnet | "$(Agent.OS)" - dotnet - path: $(DotNet.Tools) - - # Install the .NET 7 SDK - - task: UseDotNet@2 - displayName: Install the .NET 7 SDK - inputs: - version: $(DotNet.Version) - performMultiLevelLookup: true - # Set Build Version - script: nbgv cloud displayName: Set NBGV version