mirror of
https://github.com/actions/cache.git
synced 2026-07-05 18:43:47 +08:00
Compare commits
1 Commits
Link-/blob
...
688d5d4688
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
688d5d4688 |
@@ -86,7 +86,8 @@ test("restore with no cache found", async () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
expect(outputMock).toHaveBeenCalledWith("cache-primary-key", key);
|
expect(outputMock).toHaveBeenCalledWith("cache-primary-key", key);
|
||||||
expect(outputMock).toHaveBeenCalledTimes(1);
|
expect(outputMock).toHaveBeenCalledWith("cache-hit", "false");
|
||||||
|
expect(outputMock).toHaveBeenCalledTimes(2);
|
||||||
expect(failedMock).toHaveBeenCalledTimes(0);
|
expect(failedMock).toHaveBeenCalledTimes(0);
|
||||||
|
|
||||||
expect(infoMock).toHaveBeenCalledWith(
|
expect(infoMock).toHaveBeenCalledWith(
|
||||||
|
|||||||
70726
dist/restore-only/index.js
vendored
70726
dist/restore-only/index.js
vendored
File diff suppressed because one or more lines are too long
70726
dist/restore/index.js
vendored
70726
dist/restore/index.js
vendored
File diff suppressed because one or more lines are too long
70725
dist/save-only/index.js
vendored
70725
dist/save-only/index.js
vendored
File diff suppressed because one or more lines are too long
70725
dist/save/index.js
vendored
70725
dist/save/index.js
vendored
File diff suppressed because one or more lines are too long
978
package-lock.json
generated
978
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -23,10 +23,10 @@
|
|||||||
"author": "GitHub",
|
"author": "GitHub",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/cache": "file:/workspaces/toolkit/packages/cache",
|
"@actions/cache": "^3.2.3",
|
||||||
"@actions/core": "file:/workspaces/toolkit/packages/core",
|
"@actions/core": "^1.10.0",
|
||||||
"@actions/exec": "file:/workspaces/toolkit/packages/exec",
|
"@actions/exec": "^1.1.1",
|
||||||
"@actions/io": "file:/workspaces/toolkit/packages/io"
|
"@actions/io": "^1.1.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^27.5.2",
|
"@types/jest": "^27.5.2",
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ export async function restoreImpl(
|
|||||||
...restoreKeys
|
...restoreKeys
|
||||||
].join(", ")}`
|
].join(", ")}`
|
||||||
);
|
);
|
||||||
|
core.setOutput(Outputs.CacheHit, false.toString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user