Skip to content

Commit 7f0b9b1

Browse files
committed
chore(Build): try to fix an error with actions/setup-java
1 parent e23619b commit 7f0b9b1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,14 @@ jobs:
3333
with:
3434
distribution: 'liberica'
3535
java-version: '17'
36-
cache: 'maven'
36+
37+
- name: Cache local Maven repository
38+
uses: actions/cache@v3
39+
with:
40+
path: ~/.m2/repository
41+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
42+
restore-keys: |
43+
${{ runner.os }}-maven-
3744
3845
# Initializes the CodeQL tools for scanning.
3946
- name: Initialize CodeQL

0 commit comments

Comments
 (0)