Add 'cache-hit' as output

This commit is contained in:
Manuel authored and GitHub committed 2021-09-23 13:17:32 +00:00
1 parent 041bafb672
commit d1178716db
4 files changed
+7

No files matched your search

+2
View File
@@ -140,6 +140,7 @@ describe('cache-restore', () => {
expect(infoSpy).not.toHaveBeenCalledWith(
`${packageManager} cache is not found`
);
expect(setOutputSpy).toHaveBeenCalledWith('cache-hit', true);
}
);
});
@@ -167,6 +168,7 @@ describe('cache-restore', () => {
expect(infoSpy).toHaveBeenCalledWith(
`${packageManager} cache is not found`
);
expect(setOutputSpy).toHaveBeenCalledWith('cache-hit', false);
}
);
});