denolib / setup-deno

Set up your GitHub Actions workflow with a specific version of deno
https://github.com/marketplace/actions/setup-deno-environment
MIT License
181 stars 16 forks source link

Permission denied with Deno v0.36.0 #33

Closed olaven closed 4 years ago

olaven commented 4 years ago

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! 😄

zhmushan commented 4 years ago

It should be caused by #31 cc @axetroy

axetroy commented 4 years ago

@olaven Did you mean Deno v0.36.0 ?

olaven commented 4 years ago

@axetroy Yes, my bad! This release

axetroy commented 4 years ago

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

axetroy commented 4 years ago

And this problem only exists in v0.36.0

v0.37.0 has fixed it

olaven commented 4 years ago

Thank you for looking into this! 😄