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

[commons-pool] branch master updated: Update `actions/setup-java` to v2.

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

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


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

commit 5c347abd556c0369f0697dc5b6be78889a5ceca3
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Apr 19 10:06:27 2021 -0400

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

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 5c27372..414cad6 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 -B --file pom.xml --no-transfer-progress
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 1651993..94a87ff 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -53,8 +53,8 @@ The <action> type attribute can be add,update,fix,remove.
     <action dev="ggregory" type="update" due-to="Dependabot">
       Bump spotbugs-maven-plugin from 4.0.4 to 4.2.1 #48, #53, #59, #62.
     </action>
-    <action dev="ggregory" type="update" due-to="Dependabot">
-      Bump actions/setup-java from v1.4.2 to v1.4.3 #47.
+    <action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
+      Bump actions/setup-java from v1.4.2 to v2, #47.
     </action>
     <action dev="ggregory" type="update" due-to="Dependabot">
       Bump junit from 4.13 to 4.13.1 #50.