diff --git a/Library/Homebrew/github_runner_matrix.rb b/Library/Homebrew/github_runner_matrix.rb index 76462179ff..84fc2bd978 100644 --- a/Library/Homebrew/github_runner_matrix.rb +++ b/Library/Homebrew/github_runner_matrix.rb @@ -158,8 +158,7 @@ class GitHubRunnerMatrix runner.freeze # The ARM runners are typically over twice as fast as the Intel runners. - runner_timeout = timeout - runner_timeout /= 2 if timeout < GITHUB_ACTIONS_LONG_TIMEOUT + runner_timeout /= 2 if runner_timeout < GITHUB_ACTIONS_LONG_TIMEOUT spec = MacOSRunnerSpec.new( name: "macOS #{version}-arm64", runner: runner,