1
0
Fork 0
mirror of https://code.forgejo.org/actions/upload-artifact.git synced 2024-12-23 20:50:04 +01:00
upload-artifact/src/constants.ts

24 lines
426 B
TypeScript
Raw Normal View History

export enum Inputs {
Name = 'name',
Path = 'path',
IfNoFilesFound = 'if-no-files-found',
RetentionDays = 'retention-days'
}
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'
}