use highlevel actions cache api with key-prefix

This commit is contained in:
Sergey Dolin
2023-07-05 10:43:19 +02:00
parent 19f709fe58
commit d8dfea6c6d
3 changed files with 8 additions and 4 deletions

View File

@@ -6,4 +6,6 @@ export const downloadFileFromActionsCache = (
cacheKey: string,
cacheVersion: string
): Promise<void> =>
cache.restoreCache([path.dirname(destFileName)], cacheKey) as Promise<void>;
cache.restoreCache([path.dirname(destFileName)], cacheKey, [
cacheKey
]) as Promise<void>;

View File

@@ -65,7 +65,7 @@ export class State implements IState {
const serialized = await this.stateStorage.restore();
this.deserialize(serialized);
core.info(
`state: rehydrated with info about ${this.processedIssuesIDs.size} issue(s)`
`state: restored with info about ${this.processedIssuesIDs.size} issue(s)`
);
}
}