mirror of
				https://git.mirrors.martin98.com/https://github.com/actions/cache
				synced 2025-10-31 18:01:07 +08:00 
			
		
		
		
	docs: add note about branch scope (#307)
* docs: add note about branch scope * revert change
This commit is contained in:
		
							parent
							
								
									bac1a40c81
								
							
						
					
					
						commit
						46fead7f5e
					
				| @ -25,6 +25,11 @@ Create a workflow `.yml` file in your repositories `.github/workflows` directory | |||||||
| 
 | 
 | ||||||
| > See [Skipping steps based on cache-hit](#Skipping-steps-based-on-cache-hit) for info on using this output | > See [Skipping steps based on cache-hit](#Skipping-steps-based-on-cache-hit) for info on using this output | ||||||
| 
 | 
 | ||||||
|  | ### Branch scope | ||||||
|  | The cache is scoped to the key and branch. The default branch cache is available to other branches.  | ||||||
|  | 
 | ||||||
|  | See https://help.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key for more info. | ||||||
|  | 
 | ||||||
| ### Example workflow | ### Example workflow | ||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Justin Poehnelt
						Justin Poehnelt