You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2021/04/09 05:56:30 UTC

[commons-release-plugin] branch master updated: Update actions/setup-java to v2

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

kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-release-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 43be047  Update actions/setup-java to v2
     new 600ec58  Merge pull request #49 from kinow/update-setup-java
43be047 is described below

commit 43be0479fd0ee9923fe15793a160eacfd89431d7
Author: Bruno P. Kinoshita <ki...@users.noreply.github.com>
AuthorDate: Fri Apr 9 17:36:53 2021 +1200

    Update actions/setup-java to v2
---
 .github/workflows/maven.yml | 3 ++-
 src/changes/changes.xml     | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 2042534..d108bb7 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -39,8 +39,9 @@ jobs:
         restore-keys: |
           ${{ runner.os }}-maven-
     - name: Set up JDK ${{ matrix.java }}
-      uses: actions/setup-java@v1.4.3
+      uses: actions/setup-java@v2
       with:
+        distribution: adopt
         java-version: ${{ matrix.java }}
     - name: Build with Maven
       run: mvn -V -Ddoclint=all --file pom.xml --no-transfer-progress
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 829e947..ee31b12 100755
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -30,7 +30,7 @@
       <action type="update" dev="kinow">Bump maven-pmd-plugin from 3.13.0 to 3.14.0 #29.</action>
       <action type="update" dev="kinow">Bump commons-build-plugin from 1.11 to 1.12 #25.</action>
       <action issue="COMMONSSITE-138" type="add" dev="chtompki, ggregory">Create signature validation script for releases.</action>
-      <action type="update" dev="kinow">Bump actions/setup-java from v1.4.0 to v1.4.3 #11 #19.</action>
+      <action type="update" dev="kinow">Bump actions/setup-java from v1.4.0 to v2 #11 #19 #49.</action>
       <action type="update" dev="kinow">Bump spotbugs from 4.1.1 to 4.2.2 #10 #24 #30 #37 #41.</action>
       <action type="update" dev="kinow">Bump spotbugs-maven-plugin from 4.1.1 to 4.2.2 #20 #26 #33 #45.</action>
       <action type="update" dev="sebb">Fail if commons.nexus.repo.id is not defined.</action>