1
Fork 0
mirror of https://gitea.com/actions/upload-artifact.git synced 2024-11-14 12:45:58 +01:00
upload-artifact/src/upload-inputs.ts

29 lines
609 B
TypeScript
Raw Normal View History

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
2023-11-20 17:08:50 +01:00
/**
* The level of compression for Zlib to be applied to the artifact archive.
*/
compressionLevel?: number
}