From 9c574a87320e1326c2564a21593a69abde656582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Fri, 3 Feb 2023 13:47:59 +0100 Subject: [PATCH] chore(62): use built-in Maven cache mechanism of setup-java GitHub Action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes #62 Signed-off-by: Aurélien Pupier --- docs/GITHUB_ACTIONS.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/GITHUB_ACTIONS.md b/docs/GITHUB_ACTIONS.md index fb4018a..3741fc6 100644 --- a/docs/GITHUB_ACTIONS.md +++ b/docs/GITHUB_ACTIONS.md @@ -134,22 +134,17 @@ jobs: with: fetch-depth: 0 - name: Set up JDK 1.11 - uses: actions/setup-java@v2.3.0 + uses: actions/setup-java@v3.9.0 with: distribution: 'zulu' java-version: '11' + cache: 'maven' - name: Cache SonarCloud packages uses: actions/cache@v2.1.6 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar - - name: Cache Maven packages - uses: actions/cache@v2.1.6 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 - name: Create custom Maven Settings.xml #(2) uses: whelk-io/maven-settings-xml-action@v18 with: