2023-01-06 05:27:11 +08:00
|
|
|
/* eslint-disable no-unused-vars */
|
2020-04-28 23:18:53 +08:00
|
|
|
export enum Inputs {
|
|
|
|
Name = 'name',
|
2020-07-31 23:27:37 +08:00
|
|
|
Path = 'path',
|
2020-08-28 01:39:36 +08:00
|
|
|
IfNoFilesFound = 'if-no-files-found',
|
2023-11-21 00:08:50 +08:00
|
|
|
RetentionDays = 'retention-days',
|
|
|
|
CompressionLevel = 'compression-level'
|
2020-04-28 23:18:53 +08:00
|
|
|
}
|
|
|
|
|
2020-07-31 23:27:37 +08:00
|
|
|
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'
|
2020-04-28 23:18:53 +08:00
|
|
|
}
|