From: Đoàn Trần Công Danh Date: Fri, 10 Apr 2020 17:18:05 GMT Subject: [PATCH v5 03/12] ci/lib: set TERM environment variable if not exist Message-ID: In-Reply-To: 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 --- ci/lib.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/lib.sh b/ci/lib.sh index a21c6241b0..5c20975c83 100755 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -79,6 +79,9 @@ check_unignored_build_artifacts () } } +# GitHub Action doesn't set TERM, which is required by tput +export TERM=${TERM:-dumb} + # Clear MAKEFLAGS that may come from the outside world. export MAKEFLAGS= -- 2.26.0.334.g6536db25bb