group-bug: runs-on: windows-latest steps: - run: | : echo --- echo Warning single echo Error single echo [Warning] single echo [Error] single echo --- echo ::group::Warning grouped echo grouped echo warnings echo ::endgroup:: echo --- echo ::group::Error grouped echo grouped echo errors echo ::endgroup:: echo --- echo ::group::[Warning] grouped echo grouped echo warnings echo ::endgroup:: echo --- echo ::group::[Error] grouped echo grouped echo errors echo ::endgroup:: echo --- shell: bash
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