mirror of
https://github.com/Swatinem/rust-cache
synced 2025-04-12 23:38:17 +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…
Reference in a new issue