Fix style
This commit is contained in:
parent
a61cb1a4d0
commit
b261dc7798
@ -505,10 +505,8 @@ module Homebrew
|
|||||||
safe_system HOMEBREW_BREW_FILE, *upload_args
|
safe_system HOMEBREW_BREW_FILE, *upload_args
|
||||||
end
|
end
|
||||||
ensure
|
ensure
|
||||||
if args.retain_bottle_dir?
|
if args.retain_bottle_dir? && ENV["GITHUB_ACTIONS"]
|
||||||
ohai "Bottle files retained at:", dir
|
ohai "Bottle files retained at:", dir
|
||||||
return unless ENV["GITHUB_ACTIONS"]
|
|
||||||
|
|
||||||
File.open(ENV.fetch("GITHUB_OUTPUT"), "a") do |f|
|
File.open(ENV.fetch("GITHUB_OUTPUT"), "a") do |f|
|
||||||
f.puts "bottle_path=#{dir}"
|
f.puts "bottle_path=#{dir}"
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user