Skip to content

Commit 66b4598

Browse files
🩹 [Patch]: Add debug output for virtual terminal support and environment type in Action-Test job
1 parent fabf4c2 commit 66b4598

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎.github/workflows/TestWorkflow.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,11 @@ jobs:
403403
Token: ${{ secrets.TEST_USER_PAT }}
404404
Prerelease: ${{ inputs.Prerelease }}
405405
Script: |
406+
Write-Host "SupportsVirtualTerminal: $($Host.UI.SupportsVirtualTerminal)"
407+
Write-Host "EnvironmentType: $($script:GitHub.EnvironmentType)"
408+
$printLink = $Host.UI.SupportsVirtualTerminal -and $script:GitHub.EnvironmentType -ne 'GHA'
409+
Write-Host "Print links: $printLink"
410+
406411
LogGroup 'Get-GitHubUser' {
407412
Get-GitHubUser | Format-Table -AutoSize | Out-String
408413
}

0 commit comments

Comments
 (0)