mirror of
https://github.com/actions/cache.git
synced 2025-06-29 06:03:47 +00:00
Restore original behavior of cache-hit
output (#1467)
Some checks failed
Licensed / Licensed (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Waiting to run
Tests / build (macOS-latest) (push) Waiting to run
Tests / build (ubuntu-latest) (push) Waiting to run
Tests / build (windows-latest) (push) Waiting to run
Tests / test-save (macOS-latest) (push) Waiting to run
Tests / test-save (ubuntu-latest) (push) Waiting to run
Tests / test-save (windows-latest) (push) Waiting to run
Tests / test-restore (macOS-latest) (push) Blocked by required conditions
Tests / test-restore (ubuntu-latest) (push) Blocked by required conditions
Tests / test-restore (windows-latest) (push) Blocked by required conditions
Tests / test-proxy-save (push) Waiting to run
Tests / test-proxy-restore (push) Blocked by required conditions
Check dist/ / Check dist/ (push) Failing after 0s
Some checks failed
Licensed / Licensed (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Waiting to run
Tests / build (macOS-latest) (push) Waiting to run
Tests / build (ubuntu-latest) (push) Waiting to run
Tests / build (windows-latest) (push) Waiting to run
Tests / test-save (macOS-latest) (push) Waiting to run
Tests / test-save (ubuntu-latest) (push) Waiting to run
Tests / test-save (windows-latest) (push) Waiting to run
Tests / test-restore (macOS-latest) (push) Blocked by required conditions
Tests / test-restore (ubuntu-latest) (push) Blocked by required conditions
Tests / test-restore (windows-latest) (push) Blocked by required conditions
Tests / test-proxy-save (push) Waiting to run
Tests / test-proxy-restore (push) Blocked by required conditions
Check dist/ / Check dist/ (push) Failing after 0s
* Restore original behavior of `cache-hit` output * Bump version to 4.1.1
This commit is contained in:
parent
2cdf405574
commit
3624ceb22c
9 changed files with 18 additions and 12 deletions
|
@ -86,8 +86,7 @@ test("restore with no cache found", async () => {
|
|||
);
|
||||
|
||||
expect(outputMock).toHaveBeenCalledWith("cache-primary-key", key);
|
||||
expect(outputMock).toHaveBeenCalledWith("cache-hit", "false");
|
||||
expect(outputMock).toHaveBeenCalledTimes(2);
|
||||
expect(outputMock).toHaveBeenCalledTimes(1);
|
||||
expect(failedMock).toHaveBeenCalledTimes(0);
|
||||
|
||||
expect(infoMock).toHaveBeenCalledWith(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue