mirror of
https://github.com/Swatinem/rust-cache
synced 2025-04-29 06:35:53 +00:00
add incremental flag to constructor
This commit is contained in:
parent
3c291936b0
commit
046710c449
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue