We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c19a8f3 commit 657e27bCopy full SHA for 657e27b
src/jsMain/kotlin/net/kautler/github/action/setup_wsl/SetupWsl.kt
@@ -392,7 +392,7 @@ suspend fun installDistribution() {
392
wslArguments = arrayOf("--set-default-version", "${wslVersion()}")
393
)
394
395
- if (wslVersion() != 1u) {
+ if ((wslVersion() != 1u) && (process.env["RUNNER_NAME"] == "windows-2022")) {
396
retry(10) {
397
executeWslCommand(
398
wslArguments = arrayOf("--update")
0 commit comments