[release/v7.5] Bring Release Changes from v7.6.0-preview.6 (#26963)

This commit is contained in:
Aditya Patwardhan
2026-03-09 21:07:12 +00:00
committed by GitHub
parent 89227acf00
commit b770669f4c
+12 -10
View File
@@ -2548,19 +2548,21 @@ function Start-PSBootstrap {
Write-LogGroupEnd -Title "Install Windows Dependencies"
}
if ($Scenario -in 'All', 'Tools') {
Write-LogGroupStart -Title "Install .NET Global Tools"
Write-Log -message "Installing .NET global tools"
# Ensure dotnet is available
Find-Dotnet
# Ensure dotnet is available
Find-Dotnet
if (-not $env:TF_BUILD) {
if ($Scenario -in 'All', 'Tools') {
Write-LogGroupStart -Title "Install .NET Global Tools"
Write-Log -message "Installing .NET global tools"
# Install dotnet-format
Write-Verbose -Verbose "Installing dotnet-format global tool"
Start-NativeExecution {
dotnet tool install --global dotnet-format
# Install dotnet-format
Write-Verbose -Verbose "Installing dotnet-format global tool"
Start-NativeExecution {
dotnet tool install --global dotnet-format
}
Write-LogGroupEnd -Title "Install .NET Global Tools"
}
Write-LogGroupEnd -Title "Install .NET Global Tools"
}
if ($env:TF_BUILD) {