From b727de9d76dc1292ae1cbffc6bc165fb9fc35f33 Mon Sep 17 00:00:00 2001 From: Trym Lund Flogard Date: Wed, 2 Jun 2021 15:20:58 +0200 Subject: [PATCH] update inputs --- action.yml | 3 +++ src/Inputs.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 {