mirror of
https://github.com/Swatinem/rust-cache.git
synced 2025-08-14 12:45:11 +00:00
add incremental flag to constructor
This commit is contained in:
parent
3c291936b0
commit
046710c449
@ -62,6 +62,8 @@ export class CacheConfig {
|
||||
|
||||
let key = core.getInput("prefix-key") || "v0-rust";
|
||||
|
||||
self.incremental = core.getInput("incremental").toLowerCase() == "true";
|
||||
|
||||
const sharedKey = core.getInput("shared-key");
|
||||
if (sharedKey) {
|
||||
key += `-${sharedKey}`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user