mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-14 15:04:20 +02:00
Add windows-toolchain input
This commit is contained in:
@@ -341,7 +341,8 @@ export function setupPath(newPathEntries) {
|
||||
|
||||
// Then add new path entries using core.addPath()
|
||||
let newPath
|
||||
if (windows) {
|
||||
const windowsToolchain = core.getInput('windows-toolchain')
|
||||
if (windows && windowsToolchain !== 'none') {
|
||||
// main Ruby dll determines whether mingw or ucrt build
|
||||
msys2Type = rubyIsUCRT(newPathEntries[0]) ? 'ucrt64' : 'mingw64'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user