2020-07-31 15:27:37 +00:00
|
|
|
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
|
2020-08-27 17:39:36 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Duration after which artifact will expire in days
|
|
|
|
*/
|
|
|
|
retentionDays: number
|
2023-11-20 16:08:50 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The level of compression for Zlib to be applied to the artifact archive.
|
|
|
|
*/
|
|
|
|
compressionLevel?: number
|
2020-07-31 15:27:37 +00:00
|
|
|
}
|