Skip to content

Commit 52df5a6

Browse files
🩹 [Patch]: Add debug output for GITHUB_ACTIONS environment in Action-Test job
1 parent 66b4598 commit 52df5a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎.github/workflows/TestWorkflow.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,10 @@ jobs:
405405
Script: |
406406
Write-Host "SupportsVirtualTerminal: $($Host.UI.SupportsVirtualTerminal)"
407407
Write-Host "EnvironmentType: $($script:GitHub.EnvironmentType)"
408+
Write-Host "GHA? $($env:GITHUB_ACTIONS -eq 'true')"
408409
$printLink = $Host.UI.SupportsVirtualTerminal -and $script:GitHub.EnvironmentType -ne 'GHA'
409410
Write-Host "Print links: $printLink"
410-
411+
411412
LogGroup 'Get-GitHubUser' {
412413
Get-GitHubUser | Format-Table -AutoSize | Out-String
413414
}

0 commit comments

Comments
 (0)