add auth, sharing

This commit is contained in:
Trym Lund Flogard
2021-06-02 15:48:35 +02:00
parent b727de9d76
commit b0bfe891cd
5 changed files with 66 additions and 8 deletions

View File

@ -18,6 +18,14 @@ export class Inputs {
return core.getInput("nextcloud-url");
}
static get Username(): string {
return core.getInput("nextcloud-username");
}
static get Password(): string {
return core.getInput("nextcloud-password");
}
static get NoFileBehvaior(): NoFileOption {
const notFoundAction = core.getInput("if-no-files-found");
const noFileBehavior: NoFileOption = NoFileOption[notFoundAction as keyof typeof NoFileOption];