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/10/10 09:15:17 UTC
[maven] branch slachiewicz-update-gh created (now 01caf0e)
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a change to branch slachiewicz-update-gh
in repository https://gitbox.apache.org/repos/asf/maven.git.
at 01caf0e Update GH build config
This branch includes the following new commits:
new 01caf0e Update GH build config
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[maven] 01/01: Update GH build config
Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch slachiewicz-update-gh
in repository https://gitbox.apache.org/repos/asf/maven.git
commit 01caf0edb2bb02cfb307a41dd4039ff4412990e4
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Oct 10 11:15:12 2021 +0200
Update GH build config
---
.github/workflows/maven.yml | 26 ++++++++++----------------
1 file changed, 10 insertions(+), 16 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 34435be..a5a50a2 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -29,21 +29,12 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Set up cache for ~/.m2/repository
- uses: actions/cache@v2
- with:
- path: ~/.m2/repository
- key: maven-${{ matrix.os }}-${{ hashFiles('**/pom.xml') }}
- restore-keys: |
- maven-${{ matrix.os }}-
-
- - name: Set up JDK
- uses: actions/setup-java@v1
+ - uses: actions/checkout@v2
+ - uses: actions/setup-java@v2
with:
java-version: 8
+ distribution: 'temurin'
+ cache: 'maven'
- name: Build with Maven
run: mvn verify -e -B -V -DdistributionFileName=apache-maven
@@ -67,7 +58,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
- java: [8, 11, 16, 17-ea]
+ java: [8, 11, 17]
+
fail-fast: false
runs-on: ${{ matrix.os }}
@@ -131,10 +123,12 @@ jobs:
path: built-maven-wrapper/
- name: Set up JDK
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
-
+ distribution: 'temurin'
+ cache: 'maven'
+
- name: Running integration tests
shell: bash
run: mvn install -e -B -V -Prun-its,embedded -Dmaven.repo.local="$HOME/.m2/repository" -DmavenDistro="$GITHUB_WORKSPACE/built-maven/apache-maven-bin.zip" -DwrapperDistroDir="$GITHUB_WORKSPACE/built-maven/" -DmavenWrapper="$GITHUB_WORKSPACE/built-maven-wrapper/maven-wrapper.jar" -f maven-integration-testing/pom.xml