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>
This commit is contained in:
Đoàn Trần Công Danh
2020-04-07 09:31:26 +07:00
committed by Johannes Schindelin
parent afe3961b1c
commit a7ea5e0d19

View File

@@ -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=