mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-05-19 22:34:45 +00:00
parent
7d69ef2398
commit
9b747acaaa
6 changed files with 6 additions and 6 deletions
|
@ -45,7 +45,7 @@ export async function restoreImpl(
|
|||
const lookupOnly = utils.getInputAsBool(Inputs.LookupOnly);
|
||||
|
||||
const cacheKey = await cache.restoreCache(
|
||||
cachePaths,
|
||||
cachePaths.slice(),
|
||||
primaryKey,
|
||||
restoreKeys,
|
||||
{ lookupOnly: lookupOnly },
|
||||
|
|
|
@ -59,7 +59,7 @@ async function saveImpl(stateProvider: IStateProvider): Promise<number | void> {
|
|||
);
|
||||
|
||||
cacheId = await cache.saveCache(
|
||||
cachePaths,
|
||||
cachePaths.slice(),
|
||||
primaryKey,
|
||||
{ uploadChunkSize: utils.getInputAsInt(Inputs.UploadChunkSize) },
|
||||
enableCrossOsArchive,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue