bin/brew: set CI for GitHub Actions.

This commit is contained in:
Mike McQuaid 2019-08-20 08:28:25 +01:00
parent 67f960ba67
commit 0a50a6a393

View File

@ -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