|
|
@ -25,16 +25,16 @@ async function run(): Promise<void> {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (utils.isExactKeyMatch(primaryKey, state)) {
|
|
|
|
if (utils.isExactKeyMatch(primaryKey, state)) {
|
|
|
|
if (core.getInput(Inputs.Update) === "true") {
|
|
|
|
if (core.getInput(Inputs.Update) === "true") {
|
|
|
|
core.info(
|
|
|
|
core.info(
|
|
|
|
`Cache hit occurred on the primary key ${primaryKey}, but updates were enabled, so updating cache.`
|
|
|
|
`Cache hit occurred on the primary key ${primaryKey}, but updates were enabled, so updating cache.`
|
|
|
|
);
|
|
|
|
);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
core.info(
|
|
|
|
core.info(
|
|
|
|
`Cache hit occurred on the primary key ${primaryKey}, not saving cache.`
|
|
|
|
`Cache hit occurred on the primary key ${primaryKey}, not saving cache.`
|
|
|
|
);
|
|
|
|
);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const cachePaths = utils.getInputAsArray(Inputs.Path, {
|
|
|
|
const cachePaths = utils.getInputAsArray(Inputs.Path, {
|
|
|
|