ci: github actions run with TERM=dumb and can't do tput commands (#13187)
This commit is contained in:
parent
dc4867dd6c
commit
83c8e1891e
|
@ -6,7 +6,11 @@ UI_BUILD_CONTAINER_DEFAULT="consul-build-ui"
|
|||
GO_BUILD_CONTAINER_DEFAULT="consul-build-go"
|
||||
|
||||
# Whether to colorize shell output
|
||||
COLORIZE=${COLORIZE-1}
|
||||
if tput reset &>/dev/null ; then
|
||||
COLORIZE=${COLORIZE-1}
|
||||
else
|
||||
COLORIZE=0
|
||||
fi
|
||||
|
||||
# determine GOPATH and the first GOPATH to use for installing binaries
|
||||
if command -v go >/dev/null; then
|
||||
|
|
Loading…
Reference in New Issue