mirror of
				https://github.com/actions/upload-artifact.git
				synced 2025-10-23 08:56:38 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			509 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			509 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| /* eslint-disable no-unused-vars */
 | |
| export enum Inputs {
 | |
|   Name = 'name',
 | |
|   Path = 'path',
 | |
|   IfNoFilesFound = 'if-no-files-found',
 | |
|   RetentionDays = 'retention-days',
 | |
|   IncludeHiddenFiles = 'include-hidden-files'
 | |
| }
 | |
| 
 | |
| 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'
 | |
| }
 |