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 fec47dd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,19 @@ jobs:
/Library/Developer/CommandLineTools
sudo xcode-select --reset
- name: Install WSL
if: runner.os == 'Windows'
uses: Ubuntu/WSL/.github/actions/wsl-install@main
with:
distro: Ubuntu-22.04

- name: Set up WSL
if: runner.os == 'Windows'
shell: powershell
run: |
wsl --update
wsl --version
wsl --set-default-version 2
wsl --install Ubuntu-22.04 --no-launch
ubuntu2204 install --root
wsl --set-default Ubuntu-22.04
wsl --list --verbose
wsl --exec apt-get update
Expand Down

0 comments on commit fec47dd

Please sign in to comment.