diff --git a/.github/workflows/java-maven-openjdk-codeql.yml b/.github/workflows/java-maven-openjdk-codeql.yml index 6489663..65616b5 100644 --- a/.github/workflows/java-maven-openjdk-codeql.yml +++ b/.github/workflows/java-maven-openjdk-codeql.yml @@ -52,7 +52,7 @@ jobs: languages: java - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/java-maven-openjdk-dependency-submission.yml b/.github/workflows/java-maven-openjdk-dependency-submission.yml index ee6f8a4..5918a94 100644 --- a/.github/workflows/java-maven-openjdk-dependency-submission.yml +++ b/.github/workflows/java-maven-openjdk-dependency-submission.yml @@ -44,7 +44,7 @@ jobs: uses: actions/checkout@v4 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}