Skip to content

Commit 8113ca7

Browse files
committed
save
1 parent 96bc8f9 commit 8113ca7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/zxc-compile-code.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ jobs:
8686
distribution: Ubuntu-22.04
8787
set-as-default: 'true'
8888

89+
- name: Set WSL Version 2
90+
if: ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
91+
shell: pwsh
92+
run: |
93+
wsl --list --online
94+
wsl --set-default-version 2
8995
9096
- shell: wsl-bash {0}
9197
if: ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}

0 commit comments

Comments
 (0)