mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 10:24:19 +08:00 
			
		
		
		
	Merge pull request #507 from odin-delrio/patch-1
Improved gradle cache key calculation example
This commit is contained in:
		
						commit
						3303695afa
					
				| @ -140,7 +140,7 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba | |||||||
|     path: | |     path: | | ||||||
|       ~/.gradle/caches |       ~/.gradle/caches | ||||||
|       ~/.gradle/wrapper |       ~/.gradle/wrapper | ||||||
|     key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} |     key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||||||
|     restore-keys: | |     restore-keys: | | ||||||
|       ${{ runner.os }}-gradle- |       ${{ runner.os }}-gradle- | ||||||
| ``` | ``` | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Konrad Pabjan
						Konrad Pabjan