ci: reorder definitions for grouping functions
commita4761b605c527f12a9647d94a30ca04ccdea36ec
authorPatrick Steinhardt <ps@pks.im>
Thu, 9 Nov 2023 08:05:25 +0000 (9 09:05 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Nov 2023 09:56:08 +0000 (9 18:56 +0900)
tree26b16f7ad3bdf8534ae605019f50b39de0ea8f55
parent43c8a30d150ecede9709c1f2527c8fba92c65f40
ci: reorder definitions for grouping functions

We define a set of grouping functions that are used to group together
output in our CI, where these groups then end up as collapsible sections
in the respective pipeline platform. The way these functions are defined
is not easily extensible though as we have an up front check for the CI
_not_ being GitHub Actions, where we define the non-stub logic in the
else branch.

Reorder the conditional branches such that we explicitly handle GitHub
Actions.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ci/lib.sh