mirror of
				https://github.com/actions/cache.git
				synced 2025-11-01 04:28:39 +08:00 
			
		
		
		
	Update readme
This commit is contained in:
		
							parent
							
								
									f2d21e50ba
								
							
						
					
					
						commit
						2a9576cc9b
					
				|  | @ -49,7 +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). | * `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. | * `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 | * `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 | ||||||
| * `fail-on-cache-miss` - Fail the workflow if cache entry is not found | * `fail-on-cache-miss` - Fail the workflow if cache entry is not found. Default: false | ||||||
| 
 | 
 | ||||||
| #### Environment Variables | #### 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. | * `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 | * `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. | * `restore-keys` - An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key. | ||||||
| * `fail-on-cache-miss` - Fail the workflow if cache entry is not found | * `fail-on-cache-miss` - Fail the workflow if cache entry is not found. Default: false | ||||||
| 
 | 
 | ||||||
| ## Outputs | ## Outputs | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Marc Mueller
						Marc Mueller