mirror of
https://github.com/actions/upload-artifact.git
synced 2025-03-14 14:10:10 +08:00
39 lines
817 B
TypeScript
39 lines
817 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
|
|
|
|
/**
|
|
* Duration after which artifact will expire in days
|
|
*/
|
|
retentionDays: number
|
|
|
|
/**
|
|
* The level of compression for Zlib to be applied to the artifact archive.
|
|
*/
|
|
compressionLevel?: number
|
|
|
|
/**
|
|
* Whether or not to replace an existing artifact with the same name
|
|
*/
|
|
overwrite: boolean
|
|
|
|
/**
|
|
* Whether or not to include hidden files in the artifact
|
|
*/
|
|
includeHiddenFiles: boolean
|
|
}
|