From 473c46c4738f94d10d283e401747b2085ac266f9 Mon Sep 17 00:00:00 2001 From: konradpabjan Date: Thu, 20 Feb 2020 22:56:19 -0500 Subject: [PATCH] Update release --- dist/index.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index e282fec..e77a036 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2406,18 +2406,23 @@ var __importStar = (this && this.__importStar) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const core = __importStar(__webpack_require__(470)); const artifact = __importStar(__webpack_require__(214)); -const constants_1 = __webpack_require__(694); //eslint-disable-line @typescript-eslint/no-unused-vars +const constants_1 = __webpack_require__(694); const search_1 = __webpack_require__(575); function run() { return __awaiter(this, void 0, void 0, function* () { try { - const name = core.getInput(constants_1.Inputs.Name, { required: false }); //eslint-disable-line @typescript-eslint/no-unused-vars + const name = core.getInput(constants_1.Inputs.Name, { required: false }); const path = core.getInput(constants_1.Inputs.Path, { required: true }); const searchResult = yield search_1.findFilesToUpload(path); if (searchResult.filesToUpload.length === 0) { core.warning(`No files were found for the provided path: ${path}. No artifacts will be uploaded.`); } else { + core.info(`With the provided path, there will be ${searchResult.filesToUpload.length} files uploaded`); + for (const file of searchResult.filesToUpload) { + core.debug(`Upload file: ${file}`); + } + core.debug(`Root artifact directory is ${searchResult.rootDirectory}`); const artifactClient = artifact.create(); const options = { continueOnError: true