Skip to content

Commit 96bc8f9

Browse files
committed
save
1 parent 00f573b commit 96bc8f9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,15 @@ jobs:
7777
wsl --update
7878
wsl --list --online
7979
wsl --set-default-version 2
80-
wsl --install Debian
80+
81+
82+
- name: WSL Install
83+
uses: Vampire/setup-wsl@v3
84+
if: ${{ runner.os == 'Windows' && (inputs.enable-unit-tests || inputs.enable-e2e-tests) && !cancelled() && !failure() }}
85+
with:
86+
distribution: Ubuntu-22.04
87+
set-as-default: 'true'
88+
8189

8290
- shell: wsl-bash {0}
8391
if: ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}

0 commit comments

Comments
 (0)