Bump @actions/cache to 5.1.0, log cache write denied

This commit is contained in:
Jason Ginchereau
2026-06-18 15:18:53 -07:00
parent f4a67bbeca
commit 4f8aac5beb
7 changed files with 557 additions and 469 deletions
+3 -1
View File
@@ -343,7 +343,9 @@ describe('run', () => {
expect(getInputSpy).not.toHaveBeenCalled();
expect(getStateSpy).toHaveBeenCalledTimes(4);
expect(getCommandOutputSpy).toHaveBeenCalledTimes(0);
expect(debugSpy).toHaveBeenCalledTimes(0);
expect(debugSpy).toHaveBeenLastCalledWith(
`Cache was not saved for the key: ${yarnFileHash}`
);
expect(infoSpy).not.toHaveBeenCalledWith(
`Cache hit occurred on the primary key ${npmFileHash}, not saving cache.`
);