How do I split a single step into multiple sections #25314
-
I have a step that runs some validation and cross references stuff. It outputs ~10.000 lines and I would like to section this up into multiple sections. The output touches roughly 8 projects and each project contains data for 1-12 languages. Is there any way I can section up the output so I somehow expand each project and preferably each language inside each project? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Does the step use your own action?
|
Beta Was this translation helpful? Give feedback.
-
That is pretty neat! but not as of now I’m not using my own action, If I do however this is a great tip! |
Beta Was this translation helpful? Give feedback.
-
If you have control over the output, you can also use these functions via the See |
Beta Was this translation helpful? Give feedback.
-
Tried this and it worked pretty much as expected. I would have loved to have the options of having groups inside groups but besides that that feature is great! The output its now readable 😃 Thank you! |
Beta Was this translation helpful? Give feedback.
-
One little thing would be to add an example to the documentation, it did not take long to figure out but might help the next dev. Something like: Grouping output
Creates a group that is expandable in the output, multiple lines can be grouped under a heading example:
|
Beta Was this translation helpful? Give feedback.
If you have control over the output, you can also use these functions via the
::
syntax:https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#using-workflow-commands-to-access-toolkit-functions
See
group
andendgroup