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:
parent
e9cc8a7a37
commit
caac0070d7
@ -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)"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user