Add bootstrap to global tool validation step

This commit is contained in:
Aditya Patwardhan
2025-10-07 13:16:06 -07:00
parent d042a280b6
commit f1e2301e7f
@@ -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 }}"