diff options
author | Bret Johnson <bret.johnson@microsoft.com> | 2022-01-15 19:31:17 +0300 |
---|---|---|
committer | Bret Johnson <bret.johnson@microsoft.com> | 2022-01-15 19:31:17 +0300 |
commit | e022872e2237b7f5c1fc6d243627801d7a733512 (patch) | |
tree | 654bde7282c60b0fe488c3603cc139b2db8adf5b /.build | |
parent | 7ab404ef6a8b4321f43d2695f6ced7432b1f3851 (diff) |
Use AzDO task to install .NET6 and remove test only changes
Diffstat (limited to '.build')
-rw-r--r-- | .build/automation/stages/validate.yml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/.build/automation/stages/validate.yml b/.build/automation/stages/validate.yml index 1e73fcf..024fc4c 100644 --- a/.build/automation/stages/validate.yml +++ b/.build/automation/stages/validate.yml @@ -70,17 +70,13 @@ stages: provisioning_script: $(System.DefaultWorkingDirectory)/bot-provisioning/dependencies.csx provisioning_extra_args: -vv DEVDIV_PKGS_NUGET_TOKEN=$(DevDiv.NuGet.Token) SECTOOLS_PKGS_NUGET_TOKEN=$(SecTools.NuGet.Token) + # Using the provisionator to switch to .NET6 doesn't currently work for some reason on Mac agents - + # it's only .NET5 and earlier SDKS listed after running it. So use the AzDO task instead. - task: UseDotNet@2 displayName: 'Use .Net Core sdk 6.0.101' inputs: version: 6.0.101 - - task: DotNetCoreCLI@2 - displayName: 'dotnet --list-sdks ' - inputs: - command: custom - custom: '--list-sdks ' - - task: MSBuild@1 displayName: Build inputs: |