mirror of
https://github.com/trympet/nextcloud-artifacts-action.git
synced 2025-04-28 13:46:09 +02:00
test
This commit is contained in:
parent
71d45ee738
commit
ac058f2460
1429
dist/index.js
vendored
1429
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
@ -150,8 +150,9 @@ export class NextcloudClient {
|
||||
|
||||
private async upload(file: string) {
|
||||
const remoteFileDir = `/artifacts/${this.guid}`;
|
||||
core.info("Creating directory...");
|
||||
core.info("Checking directory...");
|
||||
if (!(await this.davClient.exists(remoteFileDir))) {
|
||||
core.info("Creating directory...");
|
||||
await this.davClient.createDirectory(remoteFileDir, { recursive: true });
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user