mirror of
https://github.com/actions/cache.git
synced 2025-06-24 03:18:01 +02:00
Restore original behavior of cache-hit
output (#1467)
* Restore original behavior of `cache-hit` output * Bump version to 4.1.1
This commit is contained in:
@ -260,7 +260,7 @@ test("Fail restore when fail on cache miss is enabled and primary + restore keys
|
||||
);
|
||||
|
||||
expect(stateMock).toHaveBeenCalledWith("CACHE_KEY", key);
|
||||
expect(setCacheHitOutputMock).toHaveBeenCalledTimes(1);
|
||||
expect(setCacheHitOutputMock).toHaveBeenCalledTimes(0);
|
||||
|
||||
expect(failedMock).toHaveBeenCalledWith(
|
||||
`Failed to restore cache entry. Exiting as fail-on-cache-miss is set. Input key: ${key}`
|
||||
|
Reference in New Issue
Block a user