From 14dd9d06490832e4b3982ca7d12e3f6e83e65917 Mon Sep 17 00:00:00 2001 From: Ramona Hartinger Date: Tue, 17 Sep 2024 14:24:05 +0200 Subject: [PATCH] ci: added list command --- .github/workflows/nodejs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 0a1f33e..3cb1171 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -32,10 +32,12 @@ 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 + run: | + wsl -l -v + wsl --set-version Ubuntu-20.04 2 - name: Install and Run Docker in WSL shell: wsl-bash {0} @@ -62,8 +64,6 @@ jobs: # check docker status sudo service docker status - - - name: check docker installation (sudo) run: wsl sudo docker run hello-world if: runner.os == 'Windows'