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:55:40 UTC

[commons-collections] 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-collections.git


The following commit(s) were added to refs/heads/master by this push:
     new 6b2df66  Update actions/setup-java to v2
     new e4e605f  Merge pull request #224 from kinow/update-setup-java
6b2df66 is described below

commit 6b2df66b77c770527991d06b4cfeac80cb64deef
Author: Bruno P. Kinoshita <ki...@apache.org>
AuthorDate: Fri Apr 9 17:50:40 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 d14257e..95f8324 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 package --file pom.xml --no-transfer-progress
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 1b49fb4..617d590 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -34,7 +34,7 @@
       Fix flaky UnmodifiableMultiValuedMapTest.
     </action>
     <action type="update" dev="kinow" due-to="Dependabot">
-      Bump actions/setup-java from v1.4.0 to v1.4.3 #174 #177 #186.
+      Bump actions/setup-java from v1.4.0 to v2 #174 #177 #186 #224.
     </action>
     <action issue="COLLECTIONS-764" dev="kinow" type="fix" due-to="XenoAmess">
       Refine javadoc and fix typos.