Use write-output for matrix script to support upstream callers (#6783)

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
This commit is contained in:
Azure SDK Bot 2025-10-13 15:14:54 -07:00 committed by GitHub
parent e9cc8a7a37
commit caac0070d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,7 +54,9 @@ LogGroupEnd
$serialized = SerializePipelineMatrix $matrix
Write-Host "Generated matrix:"
Write-Host $serialized.pretty
# Write-Output required to support other scripts that call this script directly
Write-Output $serialized.pretty
if ($CI) {
Write-Output "##vso[task.setVariable variable=matrix;isOutput=true]$($serialized.compressed)"