Add new option to specify behavior if no files found (#104)

* Add new option to specify behavior if no files found
This commit is contained in:
Konrad Pabjan authored and GitHub committed 2020-07-31 17:27:37 +02:00
1 parent 5f948bc1f0
commit 5ba29a7d5b
7 files changed
+188 -25

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import {NoFileOptions} from './constants'
export interface UploadInputs {
/**
* The name of the artifact that will be uploaded
*/
artifactName: string
/**
* The search path used to describe what to upload as part of the artifact
*/
searchPath: string
/**
* The desired behavior if no files are found with the provided search path
*/
ifNoFilesFound: NoFileOptions
}