Merge pull request #12946 from Bo98/pr-pull-unzip

dev-cmd/pr-pull: require unzip to be installed
This commit is contained in:
Bo Anderson 2022-03-02 05:45:31 +00:00 committed by GitHub
commit f07a44f507
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -335,6 +335,9 @@ module Homebrew
def pr_pull
args = pr_pull_args.parse
# Needed when extracting the CI artifact.
ensure_executable!("unzip", reason: "extracting CI artifacts")
workflows = args.workflows.presence || ["tests.yml"]
artifact = args.artifact || "bottles"
tap = Tap.fetch(args.tap || CoreTap.instance.name)