Skip to content

Commit b5ae086

Browse files
authored
Merge pull request #688 from CommunityToolkit/dev/preinstalled-dotnet
Use preinstalled .NET in CI runner
2 parents 4c3594d + e078889 commit b5ae086

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

azure-pipelines.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,13 @@ pool:
1313

1414
variables:
1515
Build.Configuration: Release
16-
DotNet.Tools: $(Agent.ToolsDirectory)/dotnet
17-
DotNet.Version: 7.0.x
1816

1917
jobs:
2018
- job: BuildBits
2119
displayName: Build and Test solution
2220
timeoutInMinutes: 60
2321
steps:
2422

25-
# Cache .NET SDKs and Tools across pipeline runs
26-
- task: Cache@2
27-
displayName: Cache .NET SDKs
28-
inputs:
29-
key: 'dotnet | "$(Agent.OS)" | "$(DotNet.Version)"'
30-
restoreKeys: |
31-
dotnet | "$(Agent.OS)"
32-
dotnet
33-
path: $(DotNet.Tools)
34-
35-
# Install the .NET 7 SDK
36-
- task: UseDotNet@2
37-
displayName: Install the .NET 7 SDK
38-
inputs:
39-
version: $(DotNet.Version)
40-
performMultiLevelLookup: true
41-
4223
# Set Build Version
4324
- script: nbgv cloud
4425
displayName: Set NBGV version

0 commit comments

Comments
 (0)