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/07/13 16:07:07 UTC

[maven-enforcer] 07/08: Bump actions/setup-java from 1 to 2.1.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-enforcer.git

commit b8e7790a559a64deb239920af4e7bd2a312a6363
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Tue Jul 13 15:55:41 2021 +0200

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

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index ba6fd0f..7bef762 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, 14, 15, 16-ea]
+        java: [8, 11, 16, 17-ea]
       fail-fast: false
 
     runs-on: ${{ matrix.os }}
@@ -44,8 +44,9 @@ jobs:
             maven-${{ matrix.os }}-
 
       - name: Set up JDK
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2.1.0
         with:
+          distribution: 'adopt'
           java-version: ${{ matrix.java }}
 
       - name: Build with Maven