github_runner_matrix: simplify

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
This commit is contained in:
Ruoyu Zhong 2024-04-14 00:02:37 +08:00 committed by GitHub
parent 3c3ee46f08
commit 4820c47bf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -145,7 +145,7 @@ class GitHubRunnerMatrix
end end
# macOS 12-x86_64 is usually slower. # macOS 12-x86_64 is usually slower.
timeout += 30 if !(use_github_runner && github_runner_available) && macos_version <= :monterey timeout += 30 if macos_version <= :monterey
spec = MacOSRunnerSpec.new( spec = MacOSRunnerSpec.new(
name: "macOS #{version}-x86_64", name: "macOS #{version}-x86_64",
runner:, runner:,