bin/brew: only export CI if not set.
Also: GitHub Actions already sets it.
This commit is contained in:
parent
cc8c0f83cc
commit
80082f8511
4
bin/brew
4
bin/brew
@ -79,9 +79,9 @@ then
|
||||
export HOMEBREW_EDITOR="$VISUAL"
|
||||
fi
|
||||
|
||||
# Set CI variable for GitHub Actions, Azure Pipelines, Jenkins
|
||||
# Set CI variable for Azure Pipelines and Jenkins
|
||||
# (Set by default on Circle and Travis CI)
|
||||
if [[ -n "$GITHUB_ACTIONS" || -n "$TF_BUILD" || -n "$JENKINS_HOME" ]]
|
||||
if [[ -z "$CI" ]] && [[ -n "$TF_BUILD" || -n "$JENKINS_HOME" ]]
|
||||
then
|
||||
export CI="1"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user