From 8a45918450651f5e4784b6031db26f4b9f76b251 Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Mon, 20 Mar 2023 23:53:43 -0500 Subject: [PATCH] Update 'setup-ruby-bundler-cache-v5' to 'setup-ruby-bundler-cache-v6' Needed to allow cache save when lock file hash is unchanged --- bundler.js | 2 +- dist/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bundler.js b/bundler.js index f1b560a74..81c64bac6 100644 --- a/bundler.js +++ b/bundler.js @@ -236,7 +236,7 @@ async function computeBaseKey(platform, engine, version, lockFile, cacheVersion) const cwd = process.cwd() const bundleWith = process.env['BUNDLE_WITH'] || '' const bundleWithout = process.env['BUNDLE_WITHOUT'] || '' - let key = `setup-ruby-bundler-cache-v5-${common.getOSNameVersionArch()}-${engine}-${version}-wd-${cwd}-with-${bundleWith}-without-${bundleWithout}` + let key = `setup-ruby-bundler-cache-v6-${common.getOSNameVersionArch()}-${engine}-${version}-wd-${cwd}-with-${bundleWith}-without-${bundleWithout}` if (cacheVersion !== DEFAULT_CACHE_VERSION) { key += `-v-${cacheVersion}` diff --git a/dist/index.js b/dist/index.js index 280f8de4d..6b59490e1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -250,7 +250,7 @@ async function computeBaseKey(platform, engine, version, lockFile, cacheVersion) const cwd = process.cwd() const bundleWith = process.env['BUNDLE_WITH'] || '' const bundleWithout = process.env['BUNDLE_WITHOUT'] || '' - let key = `setup-ruby-bundler-cache-v5-${common.getOSNameVersionArch()}-${engine}-${version}-wd-${cwd}-with-${bundleWith}-without-${bundleWithout}` + let key = `setup-ruby-bundler-cache-v6-${common.getOSNameVersionArch()}-${engine}-${version}-wd-${cwd}-with-${bundleWith}-without-${bundleWithout}` if (cacheVersion !== DEFAULT_CACHE_VERSION) { key += `-v-${cacheVersion}`