diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 5345bd5..c443006 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -19,7 +19,7 @@ jobs: distribution: 'temurin' java-version: 17 - name: Cache local Maven repository - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml, **/target-platform.target') }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2aaa62a..f7473c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase - name: Cache local Maven repository - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml, **/target-platform.target') }}