From bc9e12bed6027f000d1b3518e90d657ed829cf46 Mon Sep 17 00:00:00 2001 From: Burkhard Pauli Date: Thu, 20 Feb 2025 14:46:01 +0100 Subject: [PATCH] chore: Upgrade actions/checkout and actions/cache to v2 and v4 respectively in CI workflows --- .github/workflows/maven-deploy-cm.yml | 4 ++-- .github/workflows/maven-release.yml | 2 +- .github/workflows/maven-sdk-update.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven-deploy-cm.yml b/.github/workflows/maven-deploy-cm.yml index dfa10abd9..5a8c8ecd8 100644 --- a/.github/workflows/maven-deploy-cm.yml +++ b/.github/workflows/maven-deploy-cm.yml @@ -38,7 +38,7 @@ jobs: commit: ${{ steps.getCommit.outputs.commit }} steps: # Checkout this project into a sub folder - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 with: path: archetype # Set up JDK 11 @@ -49,7 +49,7 @@ jobs: java-version: '11' # Set up dependency cache - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('archetype/**/pom.xml') }} diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 754040dae..c0f40c6a1 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -34,7 +34,7 @@ jobs: # Set up dependency cache - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/maven-sdk-update.yml b/.github/workflows/maven-sdk-update.yml index 58e3ea245..fe871e51a 100644 --- a/.github/workflows/maven-sdk-update.yml +++ b/.github/workflows/maven-sdk-update.yml @@ -45,7 +45,7 @@ jobs: java-version: ${{ matrix.java }} # Set up dependency cache - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('archetype/**/pom.xml') }}