Add UseDotNet@2 where test proxy might run on a macos agent

This commit is contained in:
Daniel Jurek 2024-05-31 10:10:07 -07:00
parent de38030537
commit 3ea8e8e835

View File

@ -194,6 +194,14 @@ jobs:
- template: /eng/pipelines/templates/steps/show-failure-logs.yml
- task: UseDotNet@2
displayName: Use .NET 6 for Test Proxy
# Mac agents do not have .NET 6 installed by default since 10.13
condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'))
inputs:
packageType: runtime
version: 6.x
- template: /eng/common/testproxy/test-proxy-tool.yml
parameters:
runProxy: true