diff --git a/dist/index.js b/dist/index.js index 2df437e..7da4f67 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3997,7 +3997,6 @@ function run() { const searchResult = yield search_1.findFilesToUpload(inputs.searchPath); if (searchResult.filesToUpload.length === 0) { // No files were found, different use cases warrant different types of behavior if nothing is found - console.log(inputs.ifNoFilesFound); switch (inputs.ifNoFilesFound) { case constants_1.NoFileOptions.warn: { core.warning(`No files were found with the provided path: ${inputs.searchPath}. No artifacts will be uploaded.`); diff --git a/src/upload-artifact.ts b/src/upload-artifact.ts index 38d037d..a5b0c6f 100644 --- a/src/upload-artifact.ts +++ b/src/upload-artifact.ts @@ -10,7 +10,6 @@ async function run(): Promise { const searchResult = await findFilesToUpload(inputs.searchPath) if (searchResult.filesToUpload.length === 0) { // No files were found, different use cases warrant different types of behavior if nothing is found - console.log(inputs.ifNoFilesFound) switch (inputs.ifNoFilesFound) { case NoFileOptions.warn: { core.warning(