Compare commits

...

1 Commits

Author SHA1 Message Date
feedc0de 1ac0894c6d Update cache 2021-09-19 00:44:03 +02:00
3 changed files with 1827 additions and 1827 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ test("save with exact match returns early", async () => {
expect(saveCacheMock).toHaveBeenCalledTimes(0);
expect(infoMock).toHaveBeenCalledWith(
`Cache hit occurred on the primary key ${primaryKey}, not saving cache.`
`Cache hit occurred on the primary key ${primaryKey}, updating cache.`
);
expect(failedMock).toHaveBeenCalledTimes(0);
});
+2 -2
View File
@@ -47177,8 +47177,8 @@ function run() {
return;
}
if (utils.isExactKeyMatch(primaryKey, state)) {
core.info(`Cache hit occurred on the primary key ${primaryKey}, not saving cache.`);
return;
core.info(`Cache hit occurred on the primary key ${primaryKey}, updating cache.`);
//return;
}
const cachePaths = utils.getInputAsArray(constants_1.Inputs.Path, {
required: true
+2 -2
View File
@@ -38,9 +38,9 @@ async function run(): Promise<void> {
if (utils.isExactKeyMatch(primaryKey, state)) {
core.info(
`Cache hit occurred on the primary key ${primaryKey}, not saving cache.`
`Cache hit occurred on the primary key ${primaryKey}, updating cache.`
);
return;
//return;
}
const cachePaths = utils.getInputAsArray(Inputs.Path, {