ci(windows): clarify WSL2 reboot requirement · openclaw/openclaw@8d5fe80
vincentkoc
·
2026-06-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -297,6 +297,10 @@ jobs:
|
297 | 297 | if: ${{ always() && !cancelled() && inputs.require_wsl2 }} |
298 | 298 | run: | |
299 | 299 | if ($env:OPENCLAW_WSL2_PROBE_OK -ne "true") { |
| 300 | + if ($env:OPENCLAW_WSL2_RESTART_REQUIRED -eq "true") { |
| 301 | + Write-Error "WSL2 probe enabled required Windows features, but the runner needs a reboot before WSL2 can start." |
| 302 | + exit 1 |
| 303 | + } |
300 | 304 | Write-Error "WSL2 probe failed or WSL2 is unavailable on this Windows runner." |
301 | 305 | exit 1 |
302 | 306 | } |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。