diff --git a/action.yml b/action.yml index ed91dbd..38d4fdc 100644 --- a/action.yml +++ b/action.yml @@ -7,7 +7,7 @@ inputs: default: 'artifact' path: description: 'A file, directory or wildcard pattern that describes what to upload' - required: false + required: true if-no-files-found: description: > The desired behavior if no files are found using the provided path. diff --git a/src/upload/input-helper.ts b/src/upload/input-helper.ts index 3e24f25..93f93b2 100644 --- a/src/upload/input-helper.ts +++ b/src/upload/input-helper.ts @@ -6,6 +6,7 @@ import {UploadInputs} from './upload-inputs' * Helper to get all the inputs for the action */ export function getInputs(): UploadInputs { + core.info('debug: getInputs()') const name = core.getInput(Inputs.Name) const path = core.getInput(Inputs.Path, {required: true}) const overwrite = core.getBooleanInput(Inputs.Overwrite)