mirror of
https://code.forgejo.org/forgejo/upload-artifact.git
synced 2024-11-13 21:02:36 +00:00
5ba29a7d5b
* Add new option to specify behavior if no files found
22 lines
390 B
TypeScript
22 lines
390 B
TypeScript
export enum Inputs {
|
|
Name = 'name',
|
|
Path = 'path',
|
|
IfNoFilesFound = 'if-no-files-found'
|
|
}
|
|
|
|
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'
|
|
}
|