diff --git a/dist/index.js b/dist/index.js index cc2ddde..8f62b1d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1400,10 +1400,6 @@ async function run() { if (platform === 'windows-latest') { rubyPrefix = await windows.downloadExtractAndSetPATH(ruby) } else { - if (ruby.startsWith('jruby')) { - // Workaround for https://github.com/actions/virtual-environments/issues/242 - core.exportVariable('CLASSPATH', '') - } rubyPrefix = await downloadAndExtract(platform, ruby) core.addPath(`${rubyPrefix}/bin`) } diff --git a/index.js b/index.js index 23d5d2d..5ae10bb 100644 --- a/index.js +++ b/index.js @@ -19,10 +19,6 @@ async function run() { if (platform === 'windows-latest') { rubyPrefix = await windows.downloadExtractAndSetPATH(ruby) } else { - if (ruby.startsWith('jruby')) { - // Workaround for https://github.com/actions/virtual-environments/issues/242 - core.exportVariable('CLASSPATH', '') - } rubyPrefix = await downloadAndExtract(platform, ruby) core.addPath(`${rubyPrefix}/bin`) }