diff --git a/action.yml b/action.yml index ddbb3ba..ba7c54f 100644 --- a/action.yml +++ b/action.yml @@ -8,6 +8,9 @@ inputs: path: description: 'A file, directory or wildcard pattern that describes what to upload' required: true + nextcloud-url: + description: 'The URL for the nextcloud server' + required: true if-no-files-found: description: > The desired behavior if no files are found using the provided path. diff --git a/src/Inputs.ts b/src/Inputs.ts index e9fcd64..a66b16b 100644 --- a/src/Inputs.ts +++ b/src/Inputs.ts @@ -15,7 +15,7 @@ export class Inputs { } static get Endpoint(): string { - return core.getInput("retention-days"); + return core.getInput("nextcloud-url"); } static get NoFileBehvaior(): NoFileOption {