-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Windows workflow execution fails, paths not resolved #2704
Comments
FYI you need wsl bash can work if you use a custom |
Thanks! That seems to have helped. I had a fresh installation of cygwin, but it was not on path. bash.exe was only found in system32. (neither from mingw or git for windows.) I still get another error causing the workflow to fail. I will investigate further. If that seems unrelated to the path issue, I will close this. |
Update: I do get a similar error in a later step when another github action is called. (pypa/cibuildwheel)
It appears the output [EDIT 23.03.: Edited the path because due to markdown it was not dispalyed correctly - backslash before |
Act does not aim to alter outputs generated by actions, the shell path used forward slashes |
That's exactly the point (again): The path is valid, and python.exe is there. I have tested the Cygwin-bash, which is now the first on PATH. While it generally accepts Windows-Style paths, it seems to require either single-forward- or double-back-slash everywhere except after the drive letter:
You had suggested shells provided by mingw, git, or msys as further alternatives. I could try to supply those and see if they respond differently. If that doesn't work, I suppose I should follow-up with and issue at actions/setup-python, based on your last comment? P.S.: There was a small markdown error in the path ( |
I had no further success with other shells. Reported this upstream to actions/setup-python: |
Bug report info
Command used with act
Describe issue
I am trying to locally run a workflow from the LuxCoreRender/LuxCore repository, see below.
It works on GitHub actions for all OS configurations, and I can run it locally on linux using act (on a seaprate PC, not inside WSL, just to be clear).
Running it on Windows, I am stuck at the following error:
The file exists and contains the command that is supposed to be run for this step of the workflow.
I suspect the error is because the windows path
C:/...
is not resolved to/mnt/c/...
as it would be accessible inside WSL.I could not find any solution to this problem online so far, neither in the context of act or plain Docker.
I did attempt to reinstall WSL and Docker, but without change.
Any help to solve or further debug this would be appreciated.
Link to GitHub repository
https://github.com/LuxCoreRender/LuxCore/blob/for_v2.10/.github/workflows/wheel-builder.yml
Workflow content
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: