This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git

commit 9c78cd6caf8367548170b276566527a16829e678
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Dec 12 14:49:37 2021 +0100

    (doc) tune ci setup
---
 .github/workflows/maven.yml | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index e86f7ee..e66eb0f 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -25,7 +25,7 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest, windows-latest, macOS-latest]
-        java: [8, 11, 17, 18-ea]
+        java: [8, 11, 17]
         jdk: [temurin, zulu]
       fail-fast: false
 
@@ -33,22 +33,14 @@ jobs:
 
     steps:
       - name: Checkout
-        uses: actions/[email protected]
-
-      - name: Set up cache for ~./m2/repository
-        uses: actions/[email protected]
-        with:
-          path: ~/.m2/repository
-          key: maven-${{ matrix.os }}-java${{ matrix.java }}-${{ 
hashFiles('**/pom.xml') }}
-          restore-keys: |
-            maven-${{ matrix.os }}-java${{ matrix.java }}-
-            maven-${{ matrix.os }}-
+        uses: actions/checkout@v2
 
       - name: Set up JDK
         uses: actions/setup-java@v2
         with:
           distribution: ${{ matrix.jdk }}
           java-version: ${{ matrix.java }}
+          cache: 'maven'
 
       - name: Build with Maven
-        run: mvn verify --errors --batch-mode --show-version -P run-its
+        run: mvn verify site --errors --batch-mode --show-version -P run-its

Reply via email to