This commit is contained in:
Trym Lund Flogard 2021-06-02 19:38:09 +02:00
parent e97b799152
commit 0c1792a993
2 changed files with 715 additions and 713 deletions

1425
dist/index.js vendored

File diff suppressed because it is too large Load Diff

View File

@ -131,10 +131,11 @@ export class NextcloudClient {
}
await Promise.all(copies);
core.info(`files: ${await fs.readdir(artifactPath)}`);
core.info(`files: ${await fs.readdir(path.join(artifactPath, this.artifact))}`);
const archivePath = path.join(artifactPath, `${this.artifact}.zip`);
await this.zip(path.join(artifactPath, this.artifact), archivePath);
core.info(`archive stat: ${await fs.stat(archivePath)}`);
return archivePath;
}