mirror of
https://github.com/actions/stale.git
synced 2025-12-10 12:07:09 +00:00
do not restore if caches does not exist
This commit is contained in:
@@ -64,8 +64,9 @@ export class State implements IState {
|
||||
this.reset();
|
||||
const serialized = await this.stateStorage.restore();
|
||||
this.deserialize(serialized);
|
||||
core.info(
|
||||
`state: restored with info about ${this.processedIssuesIDs.size} issue(s)`
|
||||
);
|
||||
if (this.processedIssuesIDs.size > 0)
|
||||
core.info(
|
||||
`state: restored with info about ${this.processedIssuesIDs.size} issue(s)`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user