You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The windows-2025 image preview does not yet have WSL installed properly.
So to make my setup-wsl action compatible, I need to first execute wsl --install --no-distribution.
My action uses @actions/exec to do the necessary tool executions.
The problem is, that calling wsl --install from an interactive shell works perfectly fine.
But if I do it via @actions/exec it behaves like if called using echo | wsl --install which refuses to do its work but just says WSL is not installed yet.
It would be nice if there were some way - if possible - to run tools that require stdin to be attached.
Using options.input does not work but behaves just the same.
The text was updated successfully, but these errors were encountered:
The
windows-2025
image preview does not yet have WSL installed properly.So to make my setup-wsl action compatible, I need to first execute
wsl --install --no-distribution
.My action uses
@actions/exec
to do the necessary tool executions.The problem is, that calling
wsl --install
from an interactive shell works perfectly fine.But if I do it via
@actions/exec
it behaves like if called usingecho | wsl --install
which refuses to do its work but just says WSL is not installed yet.It would be nice if there were some way - if possible - to run tools that require stdin to be attached.
Using
options.input
does not work but behaves just the same.The text was updated successfully, but these errors were encountered: