mirror of
				https://github.com/actions/upload-artifact.git
				synced 2025-10-31 19:33:43 +00:00 
			
		
		
		
	Improve retention-days documentation
				
					
				
			Clarify that `retention-days: 0` is a valid configuration which is numerically less than 1, but that the shortest retention is `1` (it is _not_ a minimum value according to Math/Numbers/Integers, it's just the shortest retention value). Clarify that the maximum `retention-days` value is configured per repository (which implicitly inherits from organizations...) but that the default for repositories is 90 days.
This commit is contained in:
		
							parent
							
								
									319676eefa
								
							
						
					
					
						commit
						a44bc71eb1
					
				| @ -91,9 +91,10 @@ For assistance with breaking changes, see [MIGRATION.md](docs/MIGRATION.md). | ||||
|     # Optional. Default is 'warn' | ||||
|     if-no-files-found: | ||||
| 
 | ||||
|     # Duration after which artifact will expire in days. 0 means using default retention. | ||||
|     # Minimum 1 day. | ||||
|     # Maximum 90 days unless changed from the repository settings page. | ||||
|     # Duration after which artifact will expire in days. | ||||
|     #   0 means use default retention. | ||||
|     #   1 is the shortest retention. | ||||
|     #   Maximum is based on repository settings (the default is 90 days). | ||||
|     # Optional. Defaults to repository settings. | ||||
|     retention-days: | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user