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:58:10 UTC

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


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

commit 8365dcfb75c4ca70266b4b472fb622e78e5dc14d
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Apr 19 09:58:07 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 163e3f9..50e859f 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -45,8 +45,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 -DtrimStackTrace=false
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index aea945e..f228408 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -221,8 +221,8 @@ The <action> type attribute can be add,update,fix,remove.
       <action dev="ggregory" type="update" due-to="Dependabot">
         Update actions/checkout from v2.3.2 to v2.3.4, #156, #168.
       </action>
-      <action dev="ggregory" type="update" due-to="Dependabot">
-        Bump actions/setup-java from v1.4.2 to v1.4.3 #160.
+      <action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
+        Bump actions/setup-java from v1.4.2 to v2 #160.
       </action>
       <action dev="ggregory" type="update" due-to="Gary Gregory">
         Update maven-surefire-plugin from 2.22.2 to 3.0.0-M5.