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}"
|
export "$VAR_NEW"="${!VAR}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Set CI variable for Azure Pipelines, Jenkins.
|
# Set CI variable for GitHub Actions, Azure Pipelines, Jenkins
|
||||||
if [[ -n "$TF_BUILD" || -n "$JENKINS_HOME" ]]
|
# (Set by default on Circle and Travis CI)
|
||||||
|
if [[ -n "$GITHUB_ACTIONS" || -n "$TF_BUILD" || -n "$JENKINS_HOME" ]]
|
||||||
then
|
then
|
||||||
export CI="1"
|
export CI="1"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user