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:29:34 UTC

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


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

commit ec71413e018bbe5d4e56db9ccf313caa37e68eda
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Apr 19 10:29:29 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 3846f9c..322f30b 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 --file pom.xml --no-transfer-progress
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index b54bee2..ddd0636 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -81,8 +81,8 @@ The <action> type attribute can be add,update,fix,remove.
       <action type="update" dev="ggregory" due-to="Gary Gregory">
         Update commons-pool2 from 2.8.1 to 2.9.0.
       </action>
-      <action dev="ggregory" type="update" due-to="Dependabot">
-         Bump actions/setup-java from v1.4.2 to v1.4.3 #69.
+      <action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
+         Bump actions/setup-java from v1.4.2 to v2 #69.
       </action>
       <action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
          Bump japicmp-maven-plugin from 0.14.3 to 0.15.2 #71, #82.