Skip to content

Commit 21951a8

Browse files
committed
[build] only enable command tracing for rbe run in Debug mode
1 parent d9d8996 commit 21951a8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/github-actions/ci-build.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#!/usr/bin/env bash
22

33
set -eufo pipefail
4-
# We want to see what's going on
5-
set -x
4+
5+
# Only enable command tracing if DEBUG is set
6+
if [ -n "${DEBUG:-}" ]; then
7+
set -x
8+
fi
69

710
run_bazel_tests() {
811
# shellcheck disable=SC2046

0 commit comments

Comments
 (0)