diff --git a/dist/index.js b/dist/index.js index e4ef2691f..1c4fbc767 100644 --- a/dist/index.js +++ b/dist/index.js @@ -74352,7 +74352,7 @@ async function install(platform, engine, version) { // windows 2016 and 2019 need ucrt64 installed, 2022 and future images need // ucrt64 or mingw64 installed, depending on Ruby version - if (((msys2Type === 'ucrt64') || !hasMSYS2PreInstalled) && common.floatVersion(version) >= 2.4) { + if ((msys2Type === 'ucrt64') || (common.floatVersion(version) >= 2.4)) { await installGCCTools(msys2Type, version) } diff --git a/windows.js b/windows.js index ec0526912..c3b6c2304 100644 --- a/windows.js +++ b/windows.js @@ -89,7 +89,7 @@ export async function install(platform, engine, version) { // windows 2016 and 2019 need ucrt64 installed, 2022 and future images need // ucrt64 or mingw64 installed, depending on Ruby version - if (((msys2Type === 'ucrt64') || !hasMSYS2PreInstalled) && common.floatVersion(version) >= 2.4) { + if ((msys2Type === 'ucrt64') || (common.floatVersion(version) >= 2.4)) { await installGCCTools(msys2Type, version) }