Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomashubelbauer/github-actions-wsl
Seeing if it is possible to use WSL in Windows based GitHub Actions agents
https://github.com/tomashubelbauer/github-actions-wsl
github github-actions wsl
Last synced: 5 days ago
JSON representation
Seeing if it is possible to use WSL in Windows based GitHub Actions agents
- Host: GitHub
- URL: https://github.com/tomashubelbauer/github-actions-wsl
- Owner: TomasHubelbauer
- License: mit
- Created: 2019-12-07T08:32:04.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-28T08:47:10.000Z (over 2 years ago)
- Last Synced: 2024-11-27T11:39:09.706Z (about 1 month ago)
- Topics: github, github-actions, wsl
- Language: Markdown
- Homepage:
- Size: 22.5 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Actions WSL
GitHub Actions Windows images have WSL.
## To-Do
### Study actions/setup-wsl to see how it could be useful to me
https://github.com/marketplace/actions/setup-wsl
### Fix the issue with the kernel and figure out why "no installed distros"
The current workflow fails `wsl whoami` because thee is distro installed even
though `wsl --list --all` shows Ubuntu got installed correctyly.Another issue I was facing was about the kernel with a link to this:
https://docs.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-packageThis will fix WSL2 I guess but I wonder if WSL1 can be made to work, too.
I would like to find the most minimal scripts needed to get WSL1 and WSL2 print
`whoami`.`wsl --update` won't run because of this error:
> The service cannot be started, either because it is disabled or because it has
no enabled devices associated with it.`wsl --set-default-version 2` just prints as if it was started with no options.