upload-artifact/src/constants.ts
initdc 35e561c49c feat: add upload one artifact per file
Signed-off-by: initdc <initd@outlook.com>
2022-10-15 10:25:52 +00:00

26 lines
510 B
TypeScript

export enum Inputs {
Name = 'name',
Path = 'path',
IfNoFilesFound = 'if-no-files-found',
RetentionDays = 'retention-days',
ArtifactPerFile = 'artifact-per-file',
ArtifactNameRule = 'artifact-name-rule'
}
export enum NoFileOptions {
/**
* Default. Output a warning but do not fail the action
*/
warn = 'warn',
/**
* Fail the action with an error message
*/
error = 'error',
/**
* Do not output any warnings or errors, the action does not fail
*/
ignore = 'ignore'
}