mirror of
https://code.forgejo.org/forgejo/upload-artifact.git
synced 2025-04-23 09:30:48 +00:00
* Create devcontainer for codespaces * Use node 16 for devcontainer and CI * Fix node version incompatibility error * Remove caching * Add npm build to check-dist * Remove new caching * use npm install * Test node 14 * Update check dist with node 16 * Use node 18.x for check-dist * Npm install vs CI * Update package.json scripts * test * Remove caching * npm run test * testing * test * test * One more test * Test * test * Update everything * use vercel * Test * Update index.js * Test * Remove codeql warnings * Use NPM CI vs install * Small tweaks to existing workflows
24 lines
462 B
TypeScript
24 lines
462 B
TypeScript
/* eslint-disable no-unused-vars */
|
|
export enum Inputs {
|
|
Name = 'name',
|
|
Path = 'path',
|
|
IfNoFilesFound = 'if-no-files-found',
|
|
RetentionDays = 'retention-days'
|
|
}
|
|
|
|
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'
|
|
}
|