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>
This commit is contained in:
parent
a3f2eec862
commit
855c158e81
@ -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.
|
# Clear MAKEFLAGS that may come from the outside world.
|
||||||
export MAKEFLAGS=
|
export MAKEFLAGS=
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user