Skip to content

Commit 40bbc5e

Browse files
committed
Also include the commit in the cache key for truffleruby-head
* That way new caches can be created if the previous cache is for a different commit.
1 parent 1bb7de2 commit 40bbc5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ async function bundleInstall(platform, engine, version) {
283283

284284
async function computeBaseKey(platform, engine, version) {
285285
let baseKey = `setup-ruby-bundle-install-${platform}-${engine}-${version}`
286-
if (engine === 'ruby' && common.isHeadVersion(version)) {
286+
if (engine !== 'jruby' && common.isHeadVersion(version)) {
287287
let revision = '';
288288
await exec.exec('ruby', ['-e', 'print RUBY_REVISION'], {
289289
silent: true,

0 commit comments

Comments
 (0)