Add log grouping to build.psm1 for collapsible GitHub Actions logs (#26326)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Copilot
2025-10-29 15:52:59 -07:00
committed by GitHub
co-authored by TravisEz13 Travis Plunk Copilot
parent 0d7c24fb7e
commit cdeda2a501
12 changed files with 253 additions and 33 deletions
+8
View File
@@ -688,6 +688,14 @@ function Set-Path
}
}
# Display environment variables in a log group for GitHub Actions
function Show-Environment
{
Write-LogGroupStart -Title 'Environment'
Get-ChildItem -Path env: | Out-String -width 9999 -Stream | Write-Verbose -Verbose
Write-LogGroupEnd -Title 'Environment'
}
# Bootstrap script for Linux and macOS
function Invoke-BootstrapStage
{