mirror of
https://code.forgejo.org/actions/upload-artifact.git
synced 2025-05-19 23:54:45 +00:00
Add if-no-files-found option to merge action
This commit is contained in:
parent
4c0ff1c489
commit
03a6dff9d4
14 changed files with 202 additions and 44 deletions
16
src/shared/constants.ts
Normal file
16
src/shared/constants.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
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'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue