bin/brew: set CI for GitHub Actions.
This commit is contained in:
parent
67f960ba67
commit
0a50a6a393
5
bin/brew
5
bin/brew
@ -65,8 +65,9 @@ do
|
||||
export "$VAR_NEW"="${!VAR}"
|
||||
done
|
||||
|
||||
# Set CI variable for Azure Pipelines, Jenkins.
|
||||
if [[ -n "$TF_BUILD" || -n "$JENKINS_HOME" ]]
|
||||
# Set CI variable for GitHub Actions, Azure Pipelines, Jenkins
|
||||
# (Set by default on Circle and Travis CI)
|
||||
if [[ -n "$GITHUB_ACTIONS" || -n "$TF_BUILD" || -n "$JENKINS_HOME" ]]
|
||||
then
|
||||
export CI="1"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user