ci/lib: set TERM environment variable if not exist
GitHub Action doesn't set TERM environment variable, which is required by "tput". Fallback to dumb if it's not set. Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Đoàn Trần Công Danh committed
Apr 8, 2020 at 11:05 UTC
855c158e81d9a39663047c36fe9573a3908d8209
1 file changed
+3
ci/lib.sh
+3
@@ -79,6 +79,9 @@ check_unignored_build_artifacts ()
79
}
80
}
81
82
+# GitHub Action doesn't set TERM, which is required by tput
83
+export TERM=${TERM:-dumb}
84
+
85
# Clear MAKEFLAGS that may come from the outside world.
86
export MAKEFLAGS=
87