mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 03:38:36 +08:00 
			
		
		
		
	README.md: Clarify that the empty string is returned if no cache is restored.
Closes: #1513
This commit is contained in:
		
							parent
							
								
									1bd1e32a3b
								
							
						
					
					
						commit
						63d8658a94
					
				|  | @ -126,7 +126,7 @@ jobs: | |||
|       run: /primes.sh -d prime-numbers | ||||
| ``` | ||||
| 
 | ||||
| The `cache` action provides a `cache-hit` output which is set to `true` when the cache is restored using the primary `key` and `false` when the cache is restored using `restore-keys` or no cache is restored. | ||||
| The `cache` action provides a `cache-hit` output which is set to `true` when the cache is restored using the primary `key` and `false` when the cache is restored using `restore-keys`. If no cache is restored, it is set to the empty string. | ||||
| 
 | ||||
| #### Using a combination of restore and save actions | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Tomas Fabrizio Orsi
						Tomas Fabrizio Orsi