mirror of
https://github.com/actions/cache.git
synced 2025-04-19 18:46:46 +00:00
Rename option to lookup-only
This commit is contained in:
parent
d1960e64f9
commit
2ef4e0621f
16 changed files with 68 additions and 68 deletions
|
@ -79,7 +79,7 @@ test("restore with no cache found", async () => {
|
|||
key,
|
||||
[],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
|
@ -122,7 +122,7 @@ test("restore with restore keys and no cache found", async () => {
|
|||
key,
|
||||
[restoreKey],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
|
@ -164,7 +164,7 @@ test("restore with cache found for key", async () => {
|
|||
key,
|
||||
[],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
|
@ -209,7 +209,7 @@ test("restore with cache found for restore key", async () => {
|
|||
key,
|
||||
[restoreKey],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
|
@ -232,7 +232,7 @@ test("restore with dry-run set", async () => {
|
|||
testUtils.setInputs({
|
||||
path: path,
|
||||
key,
|
||||
dryRun: true
|
||||
lookupOnly: true
|
||||
});
|
||||
|
||||
const infoMock = jest.spyOn(core, "info");
|
||||
|
@ -253,7 +253,7 @@ test("restore with dry-run set", async () => {
|
|||
key,
|
||||
[],
|
||||
{
|
||||
dryRun: true
|
||||
lookupOnly: true
|
||||
},
|
||||
false
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue