Add windows-toolchain input

This commit is contained in:
MSP-Greg
2024-01-22 11:07:31 +01:00
committed by Benoit Daloze
parent 432702e864
commit 558057564b
6 changed files with 43 additions and 6 deletions
+2 -1
View File
@@ -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'