mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 06:34:19 +02:00
Handle win2019 gcc issue
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user