Skip to content

Commit

Permalink
tests.yml: adjust WSL installation commands
Browse files Browse the repository at this point in the history
  • Loading branch information
EricFromCanada committed Jun 21, 2024
1 parent 8c6fb5e commit e8ec45f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,20 @@ jobs:
/Library/Developer/CommandLineTools
sudo xcode-select --reset
- name: Set up WSL
- name: Install WSL
if: runner.os == 'Windows'
shell: powershell
run: |
wsl --update
wsl --version
wsl --set-default-version 1
wsl --install --distribution Ubuntu-22.04 --web-download --no-launch
- name: Set up WSL
if: runner.os == 'Windows'
shell: powershell
run: |
wsl --set-default-version 2
wsl --install Ubuntu-22.04 --no-launch
ubuntu2204 install --root
wsl --set-default Ubuntu-22.04
wsl --list --verbose
Expand Down

0 comments on commit e8ec45f

Please sign in to comment.