Skip to content

Commit

Permalink
job: fix macOS 15 x86_64 queue type
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 committed Sep 16, 2024
1 parent 612d53a commit af40287
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,9 @@ def orka_setup_timeout?
end

def queue_type
os_version = os.partition("-").first
if arm64? || os_version >= "15"
if arm64?
QueueTypes::MACOS_ARM64
elsif os_version < "13"
elsif os.partition("-").first < "13"
QueueTypes::MACOS_X86_64_LEGACY
else
QueueTypes::MACOS_X86_64
Expand Down

0 comments on commit af40287

Please sign in to comment.