From 1d3104498a4c41b3cb8eaccc6f540830f8381a31 Mon Sep 17 00:00:00 2001 From: Martin Kourim Date: Wed, 13 Nov 2024 11:09:54 +0100 Subject: [PATCH] feat(ci): another attempt for better output grouping GitHub Actions don't group output precisely. Another attempt to make the output look good. --- .github/regression.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/regression.sh b/.github/regression.sh index b288e739d..5193ae638 100755 --- a/.github/regression.sh +++ b/.github/regression.sh @@ -85,9 +85,7 @@ if [ -n "${BOOTSTRAP_DIR:-""}" ]; then export MAKE_TARGET="${MAKE_TARGET:-"testnets"}" fi -echo "::endgroup::" # end group for "Script setup" - -echo "::group::Dependencies setup" +echo "### Dependencies setup ###" # setup dbsync (disabled by default) case "${DBSYNC_REV:-""}" in @@ -131,9 +129,9 @@ case "${CARDANO_CLI_REV:-""}" in ;; esac -echo "::endgroup::" # end group for "Dependencies setup" +df -h . -echo "::group::Cleanup setup" +echo "### Cleanup setup ###" _cleanup() { # stop all running cluster instances @@ -177,7 +175,7 @@ _interrupted() { } trap 'set +e; _interrupted; exit 130' SIGINT -echo "::endgroup::" # end group for "Cleanup setup" +echo "::endgroup::" # end group for "Script setup" echo "::group::Nix env setup" printf "start: %(%H:%M:%S)T\n" -1