Add logging

This commit is contained in:
Sergey Dolin
2023-06-23 09:21:22 +02:00
parent 1e059ce975
commit e953c7f258
2 changed files with 4 additions and 0 deletions

View File

@@ -44,6 +44,9 @@ export class State implements IState {
);
fs.writeFileSync(file, serialized);
core.debug(
`Persisting state includes info about ${this.processedIssuesIDs.size} issue(s)`
);
const artifactClient = artifact.create();
try {
await artifactClient.uploadArtifact(State.ARTIFACT_NAME, [file], tmpDir);