-l option of 7z is unknown switch with the ubuntu-latest.

https://github.com/ruby/actions/actions/runs/11095032727/job/30823174026#step:3:349
This commit is contained in:
Hiroshi SHIBATA 2024-09-30 12:03:02 +09:00
parent 3a9e48b9a4
commit 3fe59b04d6
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -56,7 +56,7 @@ PACKAGES = {
DEFAULT_PACKAGES = PACKAGES.keys - ["tar"]
if !$no7z and system("7z", out: IO::NULL)
PACKAGES["gzip"] = %w".tar.gz 7z a dummy -tgzip -mx -so"
PACKAGES["zip"] = %w".zip 7z a -tzip -l -mx -mtc=off" << {out: IO::NULL}
PACKAGES["zip"] = %w".zip 7z a -tzip -mx -mtc=off" << {out: IO::NULL}
elsif gzip = ENV.delete("GZIP")
PACKAGES["gzip"].concat(gzip.shellsplit)
end