mirror of
https://github.com/ChristopherHX/gitea-upload-artifact.git
synced 2026-03-26 08:28:21 +00:00
* Cache licenses * Bump minimatch to 10.1.1 * Try fixing licenced issues * More licensed fixes * Support direct file uploads * Add CI tests for direct uploads * Use download-artifact@main temporarily * CI: clean up artifacts on successful runs * Use script v8 * Fix some issues with the cleanup * Add unit tests * Clarify naming
29 lines
601 B
TypeScript
29 lines
601 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',
|
|
Overwrite = 'overwrite',
|
|
IncludeHiddenFiles = 'include-hidden-files',
|
|
Archive = 'archive'
|
|
}
|
|
|
|
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'
|
|
}
|