Skip to content

Commit 98c68de

Browse files
MSP-Gregeregon
authored andcommitted
Set CLASSPATH to empty for JRuby
1 parent 4c25e81 commit 98c68de

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

dist/index.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ async function run() {
1818
if (platform === 'windows-latest') {
1919
rubyPrefix = await windows.downloadExtractAndSetPATH(ruby)
2020
} else {
21+
if (ruby.startsWith('jruby')) {
22+
core.exportVariable('CLASSPATH', '')
23+
}
2124
rubyPrefix = await downloadAndExtract(platform, ruby)
2225
core.addPath(`${rubyPrefix}/bin`)
2326
}

0 commit comments

Comments
 (0)