1
0
mirror of https://github.com/libtnb/upload-artifact.git synced 2026-02-03 15:27:14 +08:00
Files
upload-artifact/src/upload-inputs.ts
2020-09-18 15:01:18 -04:00

24 lines
490 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
}