You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2021/05/03 06:59:44 UTC

[maven-shared-utils] branch master updated: Update actions/java-setup to v2

This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git


The following commit(s) were added to refs/heads/master by this push:
     new 02325f1  Update actions/java-setup to v2
02325f1 is described below

commit 02325f14661be9b5b992eca27c84c263c83430ef
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Mon May 3 08:59:01 2021 +0200

    Update actions/java-setup to v2
---
 .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 eb39c5d..4d7fff4 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -41,9 +41,10 @@ jobs:
             maven-${{ matrix.os }}-
 
       - name: Set up JDK 1.8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
-          java-version: 1.8
+          java-version: '8'
+          distribution: 'adopt'
 
       - name: Build with Maven
         run: mvn clean verify -e -B -V