mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 11:48:38 +08:00 
			
		
		
		
	Update readme
This commit is contained in:
		
							parent
							
								
									09a1e3e8d4
								
							
						
					
					
						commit
						d1960e64f9
					
				|  | @ -49,6 +49,7 @@ If you are using a `self-hosted` Windows runner, `GNU tar` and `zstd` are requir | |||
| * `key` - An explicit key for restoring and saving the cache. Refer [creating a cache key](#creating-a-cache-key). | ||||
| * `restore-keys` - An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key. | ||||
| * `enableCrossOsArchive` - An optional boolean when enabled, allows Windows runners to save or restore caches that can be restored or saved respectively on other platforms. Default: false | ||||
| * `dry-run` - Skip downloading cache. Only check if cache entry exists. Default: false | ||||
| 
 | ||||
| #### Environment Variables | ||||
| 
 | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ The restore action, as the name suggest, restores a cache. It acts similar to th | |||
| * `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` - String used while saving cache for restoring the cache | ||||
| * `restore-keys` - An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key. | ||||
| * `dry-run` - Skip downloading cache. Only check if cache entry exists | ||||
| * `dry-run` - Skip downloading cache. Only check if cache entry exists. Default: false | ||||
| 
 | ||||
| ## Outputs | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Marc Mueller
						Marc Mueller