mirror of
https://gitea.com/actions/upload-artifact.git
synced 2024-11-14 20:55:56 +01:00
5ba29a7d5b
* Add new option to specify behavior if no files found
18 lines
398 B
TypeScript
18 lines
398 B
TypeScript
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
|
|
}
|