You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2021/09/29 13:40:11 UTC
[maven-dependency-plugin] 01/02: Adjust CI setup
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-dependency-plugin.git
commit 2dc1c7a9f037f338cd13b082fe2027c9bd729727
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Wed Sep 29 15:36:29 2021 +0200
Adjust CI setup
---
.github/workflows/maven.yml | 21 +++++----------------
1 file changed, 5 insertions(+), 16 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 91fc7a3..1f53dd1 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -25,30 +25,19 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest,windows-latest, macOS-latest]
- java: [8, 11, 16, 17-ea]
- jdk: [adopt, zulu]
+ java: [8, 11, 17]
+ jdk: [temurin,zulu]
fail-fast: false
runs-on: ${{ matrix.os }}
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/checkout@v2
+ - uses: actions/setup-java@v2
with:
distribution: ${{ matrix.jdk }}
java-version: ${{ matrix.java }}
+ cache: 'maven'
- name: Build with Maven
run: mvn install -e -B -V -Prun-its