mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 03:04:01 +00:00 
			
		
		
		
	Update CACHING.md
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
This commit is contained in:
		
							parent
							
								
									72f008c0fe
								
							
						
					
					
						commit
						46572c6bc7
					
				@ -21,7 +21,7 @@ In your workflows, you can use different strategies to name your key depending o
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### Updating cache for any change in the dependencies
 | 
					### Updating cache for any change in the dependencies
 | 
				
			||||||
 | 
					
 | 
				
			||||||
One of the most common use case is to use hash for lockfile as key. This way same cache will be restored for same lockfiles until there's any change in the lockfile/dependencies.
 | 
					One of the most common use case is to use hash for lockfile as key. This way, same cache will be restored for a lockfile until there's a change in dependencies listed in lockfile.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
  - uses: actions/cache@v3
 | 
					  - uses: actions/cache@v3
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user