Show a full example for caching bundle install

* Which should help avoid conflicts with previous caches
* See https://github.com/eregon/use-ruby-action/issues/7
This commit is contained in:
Benoit Daloze
2020-01-10 23:00:33 +01:00
parent 0b83c28888
commit 51f9fc6d8a
2 changed files with 21 additions and 1 deletions
Generated Vendored
+1
View File
@@ -1400,6 +1400,7 @@ async function run() {
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)