From dba14a6ff392b84bdec4d8e2625f5300b02cc49f Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Wed, 23 Aug 2023 14:02:39 +0200 Subject: [PATCH] [ci] Make sure GH log group/endgroup end up on separate lines. --- .github/workflows/root-ci-config/build_utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/root-ci-config/build_utils.py b/.github/workflows/root-ci-config/build_utils.py index 360b096561712..80fc60e4b0ef1 100755 --- a/.github/workflows/root-ci-config/build_utils.py +++ b/.github/workflows/root-ci-config/build_utils.py @@ -19,15 +19,15 @@ def github_log_group(title: str): def group(func: Callable): @wraps(func) def wrapper(*args, **kwargs): - print("::group::" + title) + print(f"\n::group::{title}\n") try: result = func(*args, **kwargs) except Exception as exc: - print("::endgroup::") + print("\n::endgroup::\n") raise exc - print("::endgroup::") + print("\n::endgroup::\n") return result