mirror of
https://code.forgejo.org/actions/upload-artifact
synced 2024-11-25 03:30:38 +00:00
25 lines
504 B
TypeScript
25 lines
504 B
TypeScript
/* eslint-disable no-unused-vars */
|
|
export enum Inputs {
|
|
Name = 'name',
|
|
Path = 'path',
|
|
IfNoFilesFound = 'if-no-files-found',
|
|
RetentionDays = 'retention-days',
|
|
CompressionLevel = 'compression-level'
|
|
}
|
|
|
|
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'
|
|
}
|