File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 # Checkout must run before the caching key is computed using the `hashFiles` method
3434
3535 - name : Cache Gradle Modules
36+ if : ${{ matrix.language == 'java' }}
3637 uses : actions/cache@v5
3738 with :
3839 path : |
4142 ~/.gradle/caches/signatures/
4243 ~/.gradle/caches/keyrings/
4344 key : ${{ runner.os }}-gradle-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
44- if : ${{ matrix.language == 'java' }}
4545
4646 - name : Disable checksum offloading
4747 # See: https://github.com/actions/virtual-environments/issues/1187#issuecomment-686735760
@@ -107,4 +107,4 @@ jobs:
107107 run : |
108108 rm -f ~/.gradle/caches/modules-2/modules-2.lock
109109 rm -f ~/.gradle/caches/modules-2/gc.properties
110- if : ${{ matrix.language == 'java' }}
110+ if : ${{ matrix.language == 'java' }}
You can’t perform that action at this time.
0 commit comments