mirror of https://github.com/status-im/consul.git
ci: github actions run with TERM=dumb and can't do tput commands (#13187)
This commit is contained in:
parent
7b72ddfb60
commit
9e1f362499
|
@ -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