From f1e2301e7fe384b7ee13fcc5d19dda17c808d101 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Tue, 7 Oct 2025 13:16:06 -0700 Subject: [PATCH] Add bootstrap to global tool validation step --- .pipelines/templates/release-validate-globaltools.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pipelines/templates/release-validate-globaltools.yml b/.pipelines/templates/release-validate-globaltools.yml index 083c98c393..8c2031d5cc 100644 --- a/.pipelines/templates/release-validate-globaltools.yml +++ b/.pipelines/templates/release-validate-globaltools.yml @@ -78,6 +78,9 @@ jobs: - pwsh: | $repoRoot = "$(Build.SourcesDirectory)/PowerShell" + Import-Module "$repoRoot/build.psm1" -Force -Verbose + Start-PSBootstrap -Scenario Dotnet + $exeName = if ($IsWindows) { "pwsh.exe" } else { "pwsh" } $toolPath = "$(System.DefaultWorkingDirectory)/toolPath/${{ parameters.globalToolExeName }}"