Remove no longer needed workaround
This commit is contained in:
-4
@@ -1400,10 +1400,6 @@ async function run() {
|
|||||||
if (platform === 'windows-latest') {
|
if (platform === 'windows-latest') {
|
||||||
rubyPrefix = await windows.downloadExtractAndSetPATH(ruby)
|
rubyPrefix = await windows.downloadExtractAndSetPATH(ruby)
|
||||||
} else {
|
} else {
|
||||||
if (ruby.startsWith('jruby')) {
|
|
||||||
// Workaround for https://github.com/actions/virtual-environments/issues/242
|
|
||||||
core.exportVariable('CLASSPATH', '')
|
|
||||||
}
|
|
||||||
rubyPrefix = await downloadAndExtract(platform, ruby)
|
rubyPrefix = await downloadAndExtract(platform, ruby)
|
||||||
core.addPath(`${rubyPrefix}/bin`)
|
core.addPath(`${rubyPrefix}/bin`)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,10 +19,6 @@ async function run() {
|
|||||||
if (platform === 'windows-latest') {
|
if (platform === 'windows-latest') {
|
||||||
rubyPrefix = await windows.downloadExtractAndSetPATH(ruby)
|
rubyPrefix = await windows.downloadExtractAndSetPATH(ruby)
|
||||||
} else {
|
} else {
|
||||||
if (ruby.startsWith('jruby')) {
|
|
||||||
// Workaround for https://github.com/actions/virtual-environments/issues/242
|
|
||||||
core.exportVariable('CLASSPATH', '')
|
|
||||||
}
|
|
||||||
rubyPrefix = await downloadAndExtract(platform, ruby)
|
rubyPrefix = await downloadAndExtract(platform, ruby)
|
||||||
core.addPath(`${rubyPrefix}/bin`)
|
core.addPath(`${rubyPrefix}/bin`)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user