diff --git a/dist/index.js b/dist/index.js index 6557dae..bb2babf 100644 --- a/dist/index.js +++ b/dist/index.js @@ -51181,7 +51181,7 @@ async function setupRuby(options = {}) { const [engine, parsedVersion] = parseRubyEngineAndVersion(inputs['ruby-version']) let installer - if (platform === 'windows-latest' && engine === 'ruby') { + if (platform.startsWith('windows-') && engine === 'ruby') { installer = __webpack_require__(216) } else { installer = __webpack_require__(974) diff --git a/index.js b/index.js index fa6cf24..a31cf06 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,7 @@ export async function setupRuby(options = {}) { const [engine, parsedVersion] = parseRubyEngineAndVersion(inputs['ruby-version']) let installer - if (platform === 'windows-latest' && engine === 'ruby') { + if (platform.startsWith('windows-') && engine === 'ruby') { installer = require('./windows') } else { installer = require('./ruby-builder')