Skip to content

Commit

Permalink
ci: changed wsl commands
Browse files Browse the repository at this point in the history
  • Loading branch information
rH4rtinger committed Sep 17, 2024
1 parent 3f7fa80 commit 2a0bee7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,20 @@ jobs:
# Update the WSL
wsl --update
# list all distros
wsl --list
# list all available distros
wsl --list --online
# Set WSL Version 2 as default
wsl --set-default-version 2
# Install Ubuntu WSL distribution
wsl --install Ubuntu
wsl --install Ubuntu-22.04
# Set Ubuntu 20.04 as default distribution (optional, if multiple distributions are installed)
wsl --set-default Ubuntu
# Set Ubuntu as default distribution (optional, if multiple distributions are installed)
wsl --set-default Ubuntu-22.04
# Update Ubuntu and install Docker in WSL
wsl sudo apt-get update
Expand Down

0 comments on commit 2a0bee7

Please sign in to comment.