mirror of
https://github.com/actions/stale.git
synced 2025-12-10 20:21:20 +00:00
use highlevel actions cache api with key-prefix
This commit is contained in:
@@ -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>;
|
||||
|
||||
@@ -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)`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user