os/mac/diagnostic: allow use of GitHub Actions CI.
We will be migrating Homebrew/brew to use this in the near future.
This commit is contained in:
		
							parent
							
								
									72c8a04c84
								
							
						
					
					
						commit
						e1c00f2358
					
				@ -72,7 +72,7 @@ module Homebrew
 | 
				
			|||||||
        # `brew test-bot` runs `brew doctor` in the CI for the Homebrew/brew
 | 
					        # `brew test-bot` runs `brew doctor` in the CI for the Homebrew/brew
 | 
				
			||||||
        # repository. This only needs to support whatever CI providers
 | 
					        # repository. This only needs to support whatever CI providers
 | 
				
			||||||
        # Homebrew/brew is currently using.
 | 
					        # Homebrew/brew is currently using.
 | 
				
			||||||
        return if ENV["HOMEBREW_AZURE_PIPELINES"]
 | 
					        return if ENV["HOMEBREW_AZURE_PIPELINES"] || ENV["HOMEBREW_GITHUB_ACTIONS"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        message = <<~EOS
 | 
					        message = <<~EOS
 | 
				
			||||||
          Your Xcode (#{MacOS::Xcode.version}) is outdated.
 | 
					          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
 | 
					        # `brew test-bot` runs `brew doctor` in the CI for the Homebrew/brew
 | 
				
			||||||
        # repository. This only needs to support whatever CI providers
 | 
					        # repository. This only needs to support whatever CI providers
 | 
				
			||||||
        # Homebrew/brew is currently using.
 | 
					        # Homebrew/brew is currently using.
 | 
				
			||||||
        return if ENV["HOMEBREW_AZURE_PIPELINES"]
 | 
					        return if ENV["HOMEBREW_AZURE_PIPELINES"] || ENV["HOMEBREW_GITHUB_ACTIONS"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <<~EOS
 | 
					        <<~EOS
 | 
				
			||||||
          A newer Command Line Tools release is available.
 | 
					          A newer Command Line Tools release is available.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user