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:09:33 UTC

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


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

commit a0278f793068d71608b284b0c3d70adae1ab0a42
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Apr 19 09:09:29 2021 -0400

    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 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 9961252..723de88 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -47,7 +47,7 @@ The <action> type attribute can be add,update,fix,remove.
       <action                   dev="ggregory" type="update" due-to="Dependabot">Update build actions/setup-java from v1.4.1 to v1.4.2 #60.</action>
       <action                   dev="ggregory" type="update" due-to="Gary Gregory">Update commons.jacoco.version 0.8.5 to 0.8.6 (Fixes Java 15 builds).</action>
       <action                   dev="aherbert" type="fix" due-to="James Gan">Remove duplicated words from Javadocs.</action>
-      <action                   dev="ggregory" type="update" due-to="Dependabot">Bump actions/setup-java from v1.4.2 to v1.4.3 #62.</action>
+      <action                   dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">Bump actions/setup-java from v1.4.2 to v2 #62.</action>
       <action                   dev="ggregory" type="update" due-to="Dependabot">Bump actions/checkout from v2.3.2 to v2.3.4 #65.</action> 
       <action issue="CODEC-295" dev="ggregory" type="update" due-to="Arturo Bernal">Minor improvements #67.</action> 
       <action                   dev="ggregory" type="update" due-to="Gary Gregory">Update commons.japicmp.version 0.14.3 -> 0.15.2.</action>