New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seemingly invalid path separator on Windows using actions/setup-node #145
Comments
This looks like a bug with All the places that use those need to be reviewed to determine if the path is used on the host or within the container. The ones in the container should all use |
This behavior has to be specific to Linux containers. In windows containers, path separator has to match the windows path separator ( |
Workspace volume mount is impacted as well.
|
Issue is stale and will be closed in 7 days unless there is new activity |
I'm running into this today, Windows 10 x64 with Latest Docker, github action running against ubuntu-latest,
Result:
|
So one thing to bear in mind: windows has had support for the |
Did you find a workaround? having the same problem right now. |
no I literally gave up after trying to get |
I will try running on wsl and see how it works, but this bug is really an annoying one. |
As a workaround to this bug, you can use WSL2. By installing windows 10 update 2004, and enabling wsl, updating the kernel to wsl 2, installing docker and enabling to use wsl2, then running the command act will work properly without invalid path separator. |
Hi, Sadly, I have nothing to contribute. Just issues reproducing the workaround :( |
I'm receiving this error as well running Windows 10 with Docker and WSL2. I'm trying to run act with the github-actions-demo project. |
Windows users, please make sure you're on "Linux Container". This works, irrespective of your windows version compatible with WSL2 or not. |
Docker Desktop is running Linux containers in my case. |
Ran act successfully using WSL 1 today, with Docker for Windows set to Linux containers. Running it straight on Windows (using CMD, Git Bash, or similar) does not work. (In my case it was the cedx/setup-dart action rather than actions/setup-node.) |
You may try adding to your environment path |
any solution |
Issue is stale and will be closed in 7 days unless there is new activity |
Running command
on
Microsoft Windows 10 Pro Build 10.0.18363
usingrelease v0.2.6
results in
This seems to be an issue with Windows and POSIX not using the same path separators. However I don't know where this issue lies, if its with nektos/act or actions/setup-node. If you can't reproduce the issue it occurs currently with trutoo/event-bus. It does however work in in my WSL.
The text was updated successfully, but these errors were encountered: