mirror of
https://github.com/Swatinem/rust-cache
synced 2025-04-13 15:48:43 +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";
|
let key = core.getInput("prefix-key") || "v0-rust";
|
||||||
|
|
||||||
|
self.incremental = core.getInput("incremental").toLowerCase() == "true";
|
||||||
|
|
||||||
const sharedKey = core.getInput("shared-key");
|
const sharedKey = core.getInput("shared-key");
|
||||||
if (sharedKey) {
|
if (sharedKey) {
|
||||||
key += `-${sharedKey}`;
|
key += `-${sharedKey}`;
|
||||||
|
|
Loading…
Reference in a new issue