denolib / setup-deno

Set up your GitHub Actions workflow with a specific version of deno

Home Page:https://github.com/marketplace/actions/setup-deno-environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Permission denied with Deno v0.36.0

olaven opened this issue · comments

Thank you for this action!

As the title says, my CI pipeline errored on deno test with the following, using 3.6:

/home/runner/work/_temp/476f2026-a03c-44ac-be96-866004849968.sh: line 1: /opt/hostedtoolcache/deno/0.36.0/x64/deno: Permission denied ##[error]Process completed with exit code 126.

See this run for an example.

note: updating to 3.8 fixed the issue.

Have a nice day! 😄

It should be caused by #31
cc @axetroy

@olaven Did you mean Deno v0.36.0 ?

Because the file of Deno v0.36.0 is not an executable file.

We only need to use the new file in ^v0.39.0 or ^v0.37.0 to solve this problem

And this problem only exists in v0.36.0

v0.37.0 has fixed it

Thank you for looking into this! 😄