setup-deno icon indicating copy to clipboard operation
setup-deno copied to clipboard

Requires `unzip`

Open mxcl opened this issue 1 year ago • 2 comments

When running in minimal containers the action fails due to a lack of unzip, eg:

https://github.com/teaxyz/cli/actions/runs/4105361554/jobs/7082110062#step:4:8

You may feel this is “working as designed” in which case I’ll submit a PR for the README. Or perhaps you think this action should work even if unzip is not available—in which case perhaps there is a package npm or otherwise that will uncompress for us?

mxcl avatar Feb 06 '23 15:02 mxcl

We use @actions/tool-cache for extracting zip and it depends on unzip in PATH. (They seem to have moved to system's unzip intentionally https://github.com/actions/toolkit/blob/main/packages/tool-cache/RELEASES.md#112)

I think this is by design.

cc @bartlomieju @satyarohith What do you think?

kt3k avatar Feb 08 '23 07:02 kt3k

I think it's reasonable if that's the default behavior of the GH's Actions toolkit.

bartlomieju avatar Mar 03 '23 14:03 bartlomieju