Closed peter-ro closed 3 years ago
Please see above comment: https://github.com/Vampire/setup-wsl/issues/10#issue-951114668
The exit code 1 occurs when it tries to install Ubuntu-18.04
Besides that cache
is not a valid input to my action, but use-cache
would be, what is the output of the action?
Can you provide the log files?
Maybe also set a repository secret with name ACTIONS_STEP_DEBUG
and value true
first and rerun the job to get more verbose logging.
Apologies, I did not mean cache but use-cache. The output of the job is:
Run actions/setup-wsl@v1.1.0 Verify Windows Environment Install Distribution Error: The process 'C:\actions-runner_work_tool\Ubuntu\16.4.0\x64\ubuntu1604.exe' failed with exit code 1
Attached are the logs.
Here is a more detailed look at the logs with ACTIONS_STEP_DEBUG
set to true.
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? wsl-shell-command: bash -c "sudo -u test bash --noprofile --norc -euo pipefail "