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" ;;
|
Linux) HOMEBREW_LINUX="1" ;;
|
||||||
esac
|
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.
|
# Force UTF-8 to avoid encoding issues for users with broken locale settings.
|
||||||
if [[ -n "$HOMEBREW_MACOS" ]]
|
if [[ -n "$HOMEBREW_MACOS" ]]
|
||||||
then
|
then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user