Skip to content

Commit

Permalink
Temporarily re-enable .NET 5 SDK install step (#18298)
Browse files Browse the repository at this point in the history
  • Loading branch information
weshaggard authored Jan 29, 2021
1 parent a7db37e commit 21ebca7
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions eng/pipelines/templates/steps/install-dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# All required SDKs/runtimes are available on DevOps agents
steps: []
#steps: []
# Installation steps need to be uncommented when switching to a newer SDK that's not available on DevOps agents
#steps:
# - task: UseDotNet@2
# displayName: 'Use .NET Core SDK'
# inputs:
# useGlobalJson: true
# performMultiLevelLookup: true
# - task: UseDotNet@2
# condition: ne(variables['Agent.OS'], 'Windows_NT') # Windows supports MultiLevelLookup and doesn't need explicit framework installation
# displayName: 'Use .NET Core 2.1 runtime'
# inputs:
# packageType: runtime
# version: "2.1.x"
steps:
- task: UseDotNet@2
displayName: 'Use .NET Core SDK'
inputs:
useGlobalJson: true
performMultiLevelLookup: true
- task: UseDotNet@2
condition: ne(variables['Agent.OS'], 'Windows_NT') # Windows supports MultiLevelLookup and doesn't need explicit framework installation
displayName: 'Use .NET Core 2.1 runtime'
inputs:
packageType: runtime
version: "2.1.x"

0 comments on commit 21ebca7

Please sign in to comment.