diff options
author | Bret Johnson <bret.johnson@microsoft.com> | 2022-01-16 04:22:57 +0300 |
---|---|---|
committer | Bret Johnson <bret.johnson@microsoft.com> | 2022-01-16 04:22:57 +0300 |
commit | 6e4a3e2805dfc6e5ebc4a39d99a1871a837c1952 (patch) | |
tree | d11e010876e96482b5198dc2c374ad586e458a1c | |
parent | 451a97ce7a0ffbb885ab753c041ede23bd23d960 (diff) |
Move use dotnet before provisionator
-rw-r--r-- | .build/automation/stages/validate.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.build/automation/stages/validate.yml b/.build/automation/stages/validate.yml index 024fc4c..2df9f7c 100644 --- a/.build/automation/stages/validate.yml +++ b/.build/automation/stages/validate.yml @@ -55,6 +55,13 @@ stages: clean: true persistCredentials: true + # 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: NuGetAuthenticate@0 - task: CmdLine@1 @@ -70,13 +77,6 @@ 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: MSBuild@1 displayName: Build inputs: |