mirror of
				https://git.mirrors.martin98.com/https://github.com/actions/cache
				synced 2025-11-01 04:41:07 +08:00 
			
		
		
		
	Merge pull request #554 from albertstill/improve-restore-key-docs
Improve restore-key documentation
This commit is contained in:
		
						commit
						438628ac22
					
				| @ -28,7 +28,8 @@ If you are using this inside a container, a POSIX-compliant `tar` needs to be in | ||||
| 
 | ||||
| * `path` - A list of files, directories, and wildcard patterns to cache and restore. See [`@actions/glob`](https://github.com/actions/toolkit/tree/main/packages/glob) for supported patterns. | ||||
| * `key` - An explicit key for restoring and saving the cache | ||||
| * `restore-keys` - An ordered list of keys to use for restoring the cache if no cache hit occurred for key | ||||
| * `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. | ||||
| 
 | ||||
| ### Outputs | ||||
| 
 | ||||
|  | ||||
| @ -9,7 +9,7 @@ inputs: | ||||
|     description: 'An explicit key for restoring and saving the cache' | ||||
|     required: true | ||||
|   restore-keys: | ||||
|     description: 'An ordered list of keys to use for restoring the cache if no cache hit occurred for key' | ||||
|     description: '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.' | ||||
|     required: false | ||||
|   upload-chunk-size: | ||||
|     description: 'The chunk size used to split up large files during upload, in bytes' | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sampark Sharma
						Sampark Sharma