Skip to content

Commit 559a5e6

Browse files
authored
Fix code analysis
1 parent 172e775 commit 559a5e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
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: |
@@ -41,7 +42,6 @@ jobs:
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' }}

0 commit comments

Comments
 (0)