diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e2bf031a2f..9fe289834f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: java-version: 17 architecture: x64 - name: Cache Maven packages - uses: actions/cache@v3.2.6 + uses: actions/cache@v5.0.5 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a501128285..308b3822f97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: architecture: x64 - name: Cache Maven packages - uses: actions/cache@v3.2.6 + uses: actions/cache@v5.0.5 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3b33445966c..f6e3ab46f7e 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.2.6 + uses: actions/cache@v5.0.5 with: path: ~/.m2 key: ubuntu-latest-m2-${{ hashFiles('**/pom.xml') }}