From 62aa42dc97472e52c3afa4d824d09f43f42b5263 Mon Sep 17 00:00:00 2001 From: Rob Herley Date: Fri, 19 Jan 2024 11:25:15 -0500 Subject: [PATCH] debugging --- action.yml | 2 +- src/upload/input-helper.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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)