Merge pull request #8474 from dawidd6/actions-color
brew.sh: colorize output on GitHub Actions
This commit is contained in:
commit
d3e22f401b
@ -5,6 +5,11 @@ case "$HOMEBREW_SYSTEM" in
|
||||
Linux) HOMEBREW_LINUX="1" ;;
|
||||
esac
|
||||
|
||||
# Colorize output on GitHub Actions.
|
||||
if [[ -n "$GITHUB_ACTIONS" ]]; then
|
||||
export HOMEBREW_COLOR="1"
|
||||
fi
|
||||
|
||||
# Force UTF-8 to avoid encoding issues for users with broken locale settings.
|
||||
if [[ -n "$HOMEBREW_MACOS" ]]
|
||||
then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user