From 14b9069fd335096201e132caa1fbbb7c2ae399d9 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 eaaf640..045cd57 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: