mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 07:38:37 +08:00 
			
		
		
		
	update variable descriptions
This commit is contained in:
		
							parent
							
								
									4e577c06d4
								
							
						
					
					
						commit
						14bc367517
					
				| 
						 | 
				
			
			@ -31,6 +31,8 @@ If you are using this inside a container, a POSIX-compliant `tar` needs to be in
 | 
			
		|||
* `key` - An explicit key for restoring and saving the cache
 | 
			
		||||
* `restore-keys` - An ordered list of keys to use for restoring stale cache if no cache hit occurred for key. Note
 | 
			
		||||
`cache-hit` returns false in this case.
 | 
			
		||||
* `reeval` - A boolean. Whether to reevaluate the `key` argument in the action's post run script when saving cache. Set to `true` if you would like your cache key set after your job's steps are complete.
 | 
			
		||||
* `only-restore` - A boolean. Whether to only perform cache restoration and not the save post run script.
 | 
			
		||||
 | 
			
		||||
### Outputs
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,11 +15,11 @@ inputs:
 | 
			
		|||
    description: 'The chunk size used to split up large files during upload, in bytes'
 | 
			
		||||
    required: false
 | 
			
		||||
  reeval:
 | 
			
		||||
    description: "Boolean. Whether to reevaluate the key argument in post. Set to TRUE if you would like your cache key set after your job's steps are complete."
 | 
			
		||||
    description: "A boolean. Whether to reevaluate the `key` argument in the action's post run script when saving cache. Set to `true` if you would like your cache key set after your job's steps are complete."
 | 
			
		||||
    required: false
 | 
			
		||||
    default: false
 | 
			
		||||
  only-restore:
 | 
			
		||||
    description: 'Boolean. Whether to only perform cache restoration and NOT the save post run step.'
 | 
			
		||||
    description: 'A boolean. Whether to only perform cache restoration and not the save post run script.'
 | 
			
		||||
    required: false
 | 
			
		||||
    default: false
 | 
			
		||||
outputs:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user