-
When integrating the following into my repo:
Returns an exit code of 1 but the installation of file and directories looks like it ran successfully - unsure if the distribution is installed on the system. We are running this within an Azure cloud environment on a Windows 2019 Server - which is a self-hosted github runner. Is it because the following command needs to be ran? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Please see above comment: #10 (comment) |
Beta Was this translation helpful? Give feedback.
-
The exit code 1 occurs when it tries to install Ubuntu-18.04 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Apologies, I did not mean cache but use-cache. The output of the job is: Run actions/setup-wsl@v1.1.0 Attached are the logs. |
Beta Was this translation helpful? Give feedback.
-
Here is a more detailed look at the logs with |
Beta Was this translation helpful? Give feedback.
-
I moved this to a discussion, as I don't think this is an issue with my action.
So you should probably Google for how to resolve error 0x80070005 when installing ubuntu wsl distribution and try to fix that. |
Beta Was this translation helpful? Give feedback.
I moved this to a discussion, as I don't think this is an issue with my action.
I tried the very same options on the GHA hosted windows server 2019 environment and there it worked flawlessly.
So I can just assume that something on your self-hosted runner is not setup properly.
Did you maybe not enable WSL on it? That's nothing my action can do as it requires administrative privileges and a restart.
The logs you attached show this: