We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a2fa1f commit 26ae81eCopy full SHA for 26ae81e
hugoalh.GitHubActionsToolkit/module/log.psm1
@@ -98,7 +98,14 @@ Function Write-Annotation {
98
$Parameter.('title') = $Title
99
}
100
If ($Message.Length -gt $AnnotationMessageLengthMaximum -and $Summary.Length -gt 0) {
101
- Write-Host -Object $Message
+ If ($Message -imatch '^::') {
102
+ [String]$EndToken = Disable-GitHubActionsStdOutCommandProcess
103
+ Write-Host -Object $Message
104
+ Enable-GitHubActionsStdOutCommandProcess -EndToken $EndToken
105
+ }
106
+ Else {
107
108
109
Write-GitHubActionsStdOutCommand -StdOutCommand $Type -Parameter $Parameter -Value $Summary
110
111
Else {
0 commit comments