mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 07:38:37 +08:00 
			
		
		
		
	Avoid caching 100-150MiB Gradle distribution: !~/.gradle/wrapper/dists/**/gradle*.zip
This commit is contained in:
		
							parent
							
								
									2c899f56d3
								
							
						
					
					
						commit
						bc94205084
					
				| 
						 | 
					@ -142,6 +142,7 @@ Consider using [gradle-cache-action](https://github.com/burrunan/gradle-cache-ac
 | 
				
			||||||
    path: |
 | 
					    path: |
 | 
				
			||||||
      ~/.gradle/caches
 | 
					      ~/.gradle/caches
 | 
				
			||||||
      ~/.gradle/wrapper
 | 
					      ~/.gradle/wrapper
 | 
				
			||||||
 | 
					      !~/.gradle/wrapper/dists/**/gradle*.zip
 | 
				
			||||||
    key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
 | 
					    key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
 | 
				
			||||||
    restore-keys: |
 | 
					    restore-keys: |
 | 
				
			||||||
      ${{ runner.os }}-gradle-
 | 
					      ${{ runner.os }}-gradle-
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user