From dcf5549cc6aaa856ec4e0964974e31ff1775eecf Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Thu, 14 Mar 2024 15:09:41 +0100 Subject: [PATCH] build: Update cache action to v4. --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11c0e0e23..f7a6bb692 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: java-version: 17 - name: 'Cache Maven packages' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}-${{ github.sha }} @@ -36,7 +36,7 @@ jobs: run: echo "USE_SONAR=-sonar" >> $GITHUB_ENV - name: 'Cache SonarQube packages' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar @@ -76,7 +76,7 @@ jobs: java-version: ${{ matrix.java }} - name: 'Cache Maven packages' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}-${{ github.sha }} @@ -110,7 +110,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: 'Cache Maven packages' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}-${{ github.sha }}