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 13:12:45 UTC

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


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

commit fe285ca10c91104fdabb75479f1f8c4e52fbe597
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Apr 19 09:12:41 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 ac34f20..f0aea7a 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=none --file pom.xml --no-transfer-progress
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index c252719..05d9caf 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -102,8 +102,8 @@
        <action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">
          Update commons-pool2 from 2.8.0 to 2.9.0, #61.
        </action>
-       <action type="update" dev="ggregory" due-to="Dependabot">
-         Update actions/setup-java from v1.4.0 to v1.4.2 #63, #65.
+       <action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">
+         Update actions/setup-java from v1.4.0 to v2 #63, #65.
        </action>
        <action type="update" dev="ggregory" due-to="Gary Gregory">
          Update optional commons-codec from 1.14 to 1.15.