1
0
mirror of https://gitea.com/actions/upload-artifact.git synced 2025-05-16 12:46:48 +08:00
2023-01-13 13:15:21 +00:00

29 lines
604 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
/**
* A file path that denotes the root directory of the files being uploaded
*/
rootDirectory: string
}