mirror of
https://github.com/trympet/nextcloud-artifacts-action.git
synced 2025-04-24 20:16:08 +02:00
format
This commit is contained in:
parent
b357f186aa
commit
61ff55deae
@ -47,8 +47,7 @@ export class NextcloudClient {
|
||||
const filePath = await this.upload(zip)
|
||||
core.info(`Remote file path: ${filePath}`)
|
||||
return await this.shareFile(filePath)
|
||||
}
|
||||
finally {
|
||||
} finally {
|
||||
await fs.unlink(zip)
|
||||
}
|
||||
}
|
||||
@ -130,7 +129,7 @@ export class NextcloudClient {
|
||||
const remoteFilePath = `${remoteFileDir}/${this.artifact}.zip`
|
||||
core.debug(`Transferring file... (${file})`)
|
||||
|
||||
await this.davClient.putFileContents(remoteFilePath, await fs.readFile(file));
|
||||
await this.davClient.putFileContents(remoteFilePath, await fs.readFile(file))
|
||||
|
||||
return remoteFilePath
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user