diff --git a/eng/pipelines/common/provision.yml b/eng/pipelines/common/provision.yml index abf842ba6210..4a9b688a6e8e 100644 --- a/eng/pipelines/common/provision.yml +++ b/eng/pipelines/common/provision.yml @@ -5,17 +5,6 @@ parameters: provisionatorChannel: 'latest' steps: - - task: UseDotNet@2 # https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/dotnet-core-tool-installer?view=azure-devops - displayName: 'Use .NET SDK 6' - inputs: - packageType: sdk - version: 6.0.x - - - pwsh: | - dotnet --version - dotnet --list-sdks - displayName: 'Show .NET SDK info' - # Prepare macOS - ${{ if eq(parameters.platform, 'macos') }}: - template: agent-cleanser/v1.yml@xamarin-templates @@ -89,7 +78,6 @@ steps: inputs: certSecureFile: 'Components Mac Certificate.p12' - # Prepare Windows - ${{ if eq(parameters.platform, 'windows') }}: - powershell: | @@ -117,6 +105,17 @@ steps: condition: eq(variables['provisioningVS'], 'true') # Prepare Both + - task: UseDotNet@2 # https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/dotnet-core-tool-installer?view=azure-devops + displayName: 'Use .NET SDK 6' + inputs: + packageType: sdk + version: 6.0.x + + - pwsh: | + dotnet --version + dotnet --list-sdks + displayName: 'Show .NET SDK info' + - pwsh: ./build.ps1 --target provision displayName: 'Cake Provision' condition: eq(variables['provisioningCake'], 'true') @@ -134,14 +133,14 @@ steps: # Prepare for Reunion packages - - ${{ if eq(variables['System.TeamProject'], 'devdiv') }}: - - task: NuGetAuthenticate@0 - displayName: 'Authenticate Reunion NuGet sources' - inputs: - nuGetServiceConnections: Project.Reunion.nuget.internal - - pwsh: | - $path = '$(Build.SourcesDirectory)\NuGet.config' - [xml]$xml = Get-Content $path - $xml.configuration.RemoveChild($xml.configuration.disabledPackageSources) - $xml.Save($path) - displayName: 'Add "wasdk-internal" to NuGet.config' + # - ${{ if eq(variables['System.TeamProject'], 'devdiv') }}: + # - task: NuGetAuthenticate@0 + # displayName: 'Authenticate Reunion NuGet sources' + # inputs: + # nuGetServiceConnections: Project.Reunion.nuget.internal + # - pwsh: | + # $path = '$(Build.SourcesDirectory)\NuGet.config' + # [xml]$xml = Get-Content $path + # $xml.configuration.RemoveChild($xml.configuration.disabledPackageSources) + # $xml.Save($path) + # displayName: 'Add "wasdk-internal" to NuGet.config'