Skip to content

Commit

Permalink
ci: updating wsl version to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rH4rtinger committed Sep 17, 2024
1 parent ef6aabd commit e7d8256
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
with:
distribution: Ubuntu-20.04
use-cache: true

- name: update wsl version
if: runner.os == 'Windows'
run: wsl --set-version Ubuntu-20.04 2

- name: Install and Run Docker in WSL
shell: wsl-bash {0}
Expand All @@ -58,6 +62,8 @@ jobs:
# check docker status
sudo service docker status
- name: check docker installation (sudo)
run: wsl sudo docker run hello-world
if: runner.os == 'Windows'
Expand Down

0 comments on commit e7d8256

Please sign in to comment.