From e1c00f2358a188ed2533e1002fccbddc6b2be61e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 15 Aug 2019 20:45:48 +0100 Subject: [PATCH] os/mac/diagnostic: allow use of GitHub Actions CI. We will be migrating Homebrew/brew to use this in the near future. --- Library/Homebrew/extend/os/mac/diagnostic.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index 696c48db04..09b2754932 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -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.