We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4a2c4a commit 51867f4Copy full SHA for 51867f4
riotdocker-base/build.sh
@@ -12,7 +12,9 @@ NORMAL="\e[0m"
12
step() {
13
COUNTER_SUBSTEP=0
14
COUNTER_STEP=$(("$COUNTER_STEP" + 1))
15
- echo "::group::"
+ if [ -n "${GITHUB_RUN_ID}" ]; then
16
+ echo "::group::"
17
+ fi
18
printf "${BLUE}${BOLD}==>${NORMAL}${BOLD} Step %d:${NORMAL} %s\n" "$COUNTER_STEP" "$1"
19
}
20
@@ -24,7 +26,9 @@ endstep() {
24
26
25
27
substep() {
28
COUNTER_SUBSTEP=$(("$COUNTER_SUBSTEP" + 1))
29
30
31
32
printf "${BLUE}${BOLD} -->${NORMAL}${BOLD} Step %d.%d:${NORMAL} %s\n" \
33
"$COUNTER_STEP" "$COUNTER_SUBSTEP" "$1"
34
0 commit comments