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/08/22 20:42:07 UTC

[maven-invoker] branch master updated: Bump actions/setup-java from 1 to 2.2.0

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-invoker.git


The following commit(s) were added to refs/heads/master by this push:
     new 2232c62  Bump actions/setup-java from 1 to 2.2.0
2232c62 is described below

commit 2232c62344ac835c0a87741558a173594a387c2f
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Aug 22 22:42:02 2021 +0200

    Bump actions/setup-java from 1 to 2.2.0
---
 .github/workflows/maven.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index afa505a..7e73cc5 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -24,8 +24,8 @@ jobs:
 
     strategy:
       matrix:
-        os: [ubuntu-20.04, windows-latest, macOS-latest]
-        java: [7, 8, 11, 15, 16-ea]
+        os: [ubuntu-latest, windows-latest, macOS-latest]
+        java: [8, 11, 17-ea]
       fail-fast: false
 
     runs-on: ${{ matrix.os }}
@@ -43,9 +43,10 @@ jobs:
                 ${{ runner.os }}-maven-
 
       - name: Set up JDK
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2.2.0
         with:
           java-version: ${{ matrix.java }}
+          distribution: 'temurin'
 
       - name: Build with Maven
         run: mvn verify -e -B -V -P run-its