diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11dc957058..34b85093c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: java-version: 17 architecture: x64 - name: Cache Maven packages - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.0.2 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6196dce05d..e16cae30b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: architecture: x64 - name: Cache Maven packages - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.0.2 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b99c2950a0..6290b968ab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,7 +37,7 @@ jobs: architecture: x64 #Uses an action to set up a cache using a certain key based on the hash of the dependencies - name: Cache Maven packages - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.0.2 with: path: ~/.m2 key: ubuntu-latest-m2-${{ hashFiles('**/pom.xml') }}