This commit is contained in:
Trym Lund Flogard 2021-06-02 19:35:57 +02:00
parent d873964202
commit e97b799152
2 changed files with 717 additions and 714 deletions

1428
dist/index.js vendored

File diff suppressed because it is too large Load Diff

View File

@ -131,6 +131,7 @@ export class NextcloudClient {
}
await Promise.all(copies);
core.info(`files: ${await fs.readdir(artifactPath)}`);
const archivePath = path.join(artifactPath, `${this.artifact}.zip`);
await this.zip(path.join(artifactPath, this.artifact), archivePath);
@ -184,7 +185,7 @@ export class NextcloudClient {
headers: this.headers,
body: JSON.stringify(body),
});
res.status
core.info(await res.text())
}
}