We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b87f2eb commit c498099Copy full SHA for c498099
src/jsMain/kotlin/net/kautler/github/action/setup_wsl/SetupWsl.kt
@@ -390,7 +390,11 @@ suspend fun installDistribution() {
390
wslArguments = arrayOf("--set-default-version", "${wslVersion()}")
391
)
392
393
- if ((wslVersion() != 1u) && (process.env["ImageOS"] == "win22") && (process.env["RUNNER_ENVIRONMENT"] == "github-hosted")) {
+ if ((wslVersion() != 1u)
394
+ && (process.env["ImageOS"] == "win22")
395
+ && (process.env["RUNNER_ARCH"] == "X64")
396
+ && (process.env["RUNNER_ENVIRONMENT"] == "github-hosted")
397
+ ) {
398
retry(10) {
399
executeWslCommand(
400
wslArguments = arrayOf("--update")
0 commit comments