mirror of
https://gitea.com/actions/upload-artifact.git
synced 2026-01-30 22:03:57 +08:00
Add if-no-files-found option to merge action
This commit is contained in:
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'
|
||||
}
|
||||
Reference in New Issue
Block a user