Skip to content

Commit

Permalink
Merge pull request #1210 from Homebrew/revert-1208-sequoia-debug
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocab authored Sep 10, 2024
2 parents 6aaf6ed + 6911d25 commit e52c6e4
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions lib/step.rb
Original file line number Diff line number Diff line change
Expand Up @@ -196,23 +196,6 @@ def run(dry_run: false, fail_fast: false)
return
end

if OS.mac? && MacOS.version == :sequoia &&
ENV["GITHUB_REPOSITORY_OWNER"]&.casecmp?("homebrew") &&
output.include?("LoadError") &&
output.include?("not a mach-o file")
time_slept = 0
sleep_time = 300
sleep_for = 3600
while time_slept < sleep_for
puts GitHub::Actions::Annotation.new(
:notice,
"ping @Bo98, please investigate. Continuing in #{sleep_for - time_slept}s.",
)
time_slept += sleep_time
sleep sleep_time
end
end

os_string = if OS.mac?
str = +"macOS #{MacOS.version.pretty_name} (#{MacOS.version})"
str << " on Apple Silicon" if Hardware::CPU.arm?
Expand Down

0 comments on commit e52c6e4

Please sign in to comment.