1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-28 15:09:15 +01:00

Formatting updates via. prettier

This commit is contained in:
Eliza Brock Marcum 2020-06-25 10:02:13 -05:00
parent b28dbaf08e
commit a01a990100

View file

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