Skip to content

Colorizing warnings/errors breaks ::group #25549

Answered by weide-zhou
wipe2238 asked this question in Actions
Discussion options

You must be logged in to vote

Command “echo ::group::[Warning] grouped” should be not supported.

echo "::group::my title"  
echo "::endgroup::"

This should be wrapped by the core methods which comes from ‘actions/toolkit’ , it requires a string value and but not support nested warpped “[Warning] title”.

code as below:

function startGroup(name: string): void {}
function endGroup(): void {}

Please refer to official doc for more details: 

https://github.com/actions/toolkit/blob/master/docs/commands.md#group-and-ungroup-log-lines

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants