Skip to content

Commit

Permalink
Try really hard (Azure#25852)
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym authored Dec 9, 2021
1 parent 6658a7a commit c135867
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eng/pipelines/templates/steps/install-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,23 @@ steps:
# Installation steps need to be uncommented when switching to a newer SDK that's not available on DevOps agents
- task: UseDotNet@2
displayName: 'Use .NET Core SDK'
retryCountOnTaskFailure: 3
inputs:
useGlobalJson: true
performMultiLevelLookup: true
# test-proxy requires ASP.NET Core 5.0 runtime
- task: UseDotNet@2
condition: and(succeeded(), ne(variables['Agent.OS'], 'Windows_NT')) # Windows supports MultiLevelLookup and doesn't need explicit framework installation
displayName: 'Use .NET Core 5.0 SDK'
retryCountOnTaskFailure: 3
inputs:
packageType: sdk
performMultiLevelLookup: true
version: "5.0.x"
- task: UseDotNet@2
condition: and(succeeded(), ne(variables['Agent.OS'], 'Windows_NT')) # Windows supports MultiLevelLookup and doesn't need explicit framework installation
displayName: 'Use .NET Core 3.1 SDK'
retryCountOnTaskFailure: 3
inputs:
# AspNetCore runtime pack can't be installed outside of SDK and we need it for intergation tests
packageType: sdk
Expand Down

0 comments on commit c135867

Please sign in to comment.