diff --git a/dist/index.js b/dist/index.js index 2cc1a627f..d8e2eaa8c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -65924,6 +65924,8 @@ function validateRubyEngineAndVersion(platform, engineVersions, engine, parsedVe - { os: macos-13, ruby: '2.5' } But of course you should consider dropping support for these long-EOL Rubies, which cannot even be built on recent macOS machines.`) + } else if (engine === 'truffleruby' && platform.startsWith('windows')) { + throw new Error('TruffleRuby does not currently support Windows.') } return version diff --git a/index.js b/index.js index 85d20f616..599109dd4 100644 --- a/index.js +++ b/index.js @@ -190,6 +190,8 @@ function validateRubyEngineAndVersion(platform, engineVersions, engine, parsedVe - { os: macos-13, ruby: '2.5' } But of course you should consider dropping support for these long-EOL Rubies, which cannot even be built on recent macOS machines.`) + } else if (engine === 'truffleruby' && platform.startsWith('windows')) { + throw new Error('TruffleRuby does not currently support Windows.') } return version