Merge pull request #6369 from MikeMcQuaid/github-actions-doctor

os/mac/diagnostic: allow use of GitHub Actions CI.
This commit is contained in:
Mike McQuaid 2019-08-16 07:17:00 +01:00 committed by GitHub
commit 9812693be3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ module Homebrew
# `brew test-bot` runs `brew doctor` in the CI for the Homebrew/brew
# repository. This only needs to support whatever CI providers
# Homebrew/brew is currently using.
return if ENV["HOMEBREW_AZURE_PIPELINES"]
return if ENV["HOMEBREW_AZURE_PIPELINES"] || ENV["HOMEBREW_GITHUB_ACTIONS"]
message = <<~EOS
Your Xcode (#{MacOS::Xcode.version}) is outdated.
@ -99,7 +99,7 @@ module Homebrew
# `brew test-bot` runs `brew doctor` in the CI for the Homebrew/brew
# repository. This only needs to support whatever CI providers
# Homebrew/brew is currently using.
return if ENV["HOMEBREW_AZURE_PIPELINES"]
return if ENV["HOMEBREW_AZURE_PIPELINES"] || ENV["HOMEBREW_GITHUB_ACTIONS"]
<<~EOS
A newer Command Line Tools release is available.