mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
[release/v7.5] Bring Release Changes from v7.6.0-preview.6 (#26963)
This commit is contained in:
+12
-10
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user