param( [string]$ArtifactDir = '', [string]$Type = '' ) $ErrorActionPreference = "Stop" # ---- Output build.info.json to GITHUB_OUTPUT ---- $info = Get-Content "build.info.json" -Raw | ConvertFrom-Json $info.PSObject.Properties | ForEach-Object { $name = $_.Name $value = $_.Value if ($value -is [array]) { "$name<