diff --git a/dist/restore/index.js b/dist/restore/index.js index 80610b4..6540f5e 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -85458,7 +85458,7 @@ class CacheConfig { key += `-${inputKey}`; } const job = process.env.GITHUB_JOB; - if ((job) && core.getInput("use-job-key").toLowerCase() == "true") { + if ((job) && core.getInput("add-job-id-key").toLowerCase() == "true") { key += `-${job}`; } } @@ -85495,8 +85495,8 @@ class CacheConfig { } } self.keyEnvs = keyEnvs; - // Add job hash suffix if 'add-job-hash' is true - if (core.getInput("add-job-hash").toLowerCase() == "true") { + // Add job hash suffix if 'add-rust-environment-hash-key' is true + if (core.getInput("add-rust-environment-hash-key").toLowerCase() == "true") { key += `-${digest(hasher)}`; } self.restoreKey = key; @@ -85597,8 +85597,8 @@ class CacheConfig { } keyFiles.push(...parsedKeyFiles); self.keyFiles = sort_and_uniq(keyFiles); - // Add lock hash suffix if 'add-job-hash' is true - if (core.getInput("add-job-hash").toLowerCase() == "true") { + // Add lock hash suffix if 'add-rust-environment-hash-key' is true + if (core.getInput("add-rust-environment-hash-key").toLowerCase() == "true") { let lockHash = digest(hasher); key += `-${lockHash}`; } diff --git a/dist/save/index.js b/dist/save/index.js index 2027f3b..7db3f6a 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -85458,7 +85458,7 @@ class CacheConfig { key += `-${inputKey}`; } const job = process.env.GITHUB_JOB; - if ((job) && core.getInput("use-job-key").toLowerCase() == "true") { + if ((job) && core.getInput("add-job-id-key").toLowerCase() == "true") { key += `-${job}`; } } @@ -85495,8 +85495,8 @@ class CacheConfig { } } self.keyEnvs = keyEnvs; - // Add job hash suffix if 'add-job-hash' is true - if (core.getInput("add-job-hash").toLowerCase() == "true") { + // Add job hash suffix if 'add-rust-environment-hash-key' is true + if (core.getInput("add-rust-environment-hash-key").toLowerCase() == "true") { key += `-${digest(hasher)}`; } self.restoreKey = key; @@ -85597,8 +85597,8 @@ class CacheConfig { } keyFiles.push(...parsedKeyFiles); self.keyFiles = sort_and_uniq(keyFiles); - // Add lock hash suffix if 'add-job-hash' is true - if (core.getInput("add-job-hash").toLowerCase() == "true") { + // Add lock hash suffix if 'add-rust-environment-hash-key' is true + if (core.getInput("add-rust-environment-hash-key").toLowerCase() == "true") { let lockHash = digest(hasher); key += `-${lockHash}`; }