Raku/setup-raku

`zef` is not installed on `windows-latest`

Closed this issue · 6 comments

Having a script run:

run "zef", "install", "."

results in:

Failed to spawn process zef: no such file or directory (error code -4058)

whereas that works fine on ubuntu-latest and MacOS-latest.

Example: https://github.com/lizmat/sourcery/actions/runs/9709948595/job/26799645336

Maybe

run "cmd.exe", "/x/d/c", "zef", "install", ".";

works.

In windows, zef is actually zef.bat.

Ahhh... ok, so $*DISTRO.is-win ?? 'zef.bat' !! 'zef' indeed does the trick. Thanks! Closing.

FWIW, it does appear like it does fix the issue: https://github.com/lizmat/sourcery/actions/runs/9714371905 .

So it looks like it doesn't for run?