You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2021/08/27 03:56:35 UTC
[maven-javadoc-plugin] 01/01: use setup-java cache, more jdk
This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch gh-cache-setup-java
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
commit 85c0c7d83c399311223f0b561693db86a08c08a9
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Fri Aug 27 13:56:31 2021 +1000
use setup-java cache, more jdk
---
.github/workflows/maven.yml | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index ea1565b..91ea41b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -26,7 +26,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
java: [8, 11, 16, 17-ea]
- jdk: [adopt, zulu]
+ jdk: [adopt, zulu, temurin]
fail-fast: false
runs-on: ${{ matrix.os }}
@@ -34,19 +34,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
-
- - name: Set up cache for ~./m2/repository
- uses: actions/cache@v2.1.6
- 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 }}-
-
- name: Set up JDK
- uses: actions/setup-java@v2
+ uses: actions/setup-java@v2.3.0
with:
+ cache: 'maven'
distribution: ${{ matrix.jdk }}
java-version: ${{ matrix.java }}