Browse Source

ci: github actions run with TERM=dumb and can't do tput commands (#13187)

pull/13188/head
R.B. Boyer 3 years ago committed by GitHub
parent
commit
9e1f362499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      build-support/functions/00-vars.sh

6
build-support/functions/00-vars.sh

@ -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…
Cancel
Save