This commit is contained in:
Konrad Pabjan 2020-07-28 13:45:31 +02:00
parent 9073645079
commit 0c5eb305e8
2 changed files with 73 additions and 11 deletions

View file

@ -10,6 +10,7 @@ async function run(): Promise<void> {
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(