Skip to content
Snippets Groups Projects
Unverified Commit c3eada09 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #8247 from MikeMcQuaid/brew-ci

bin/brew: only export CI if not set.
parents cc8c0f83 80082f85
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment