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:57:01 UTC

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


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

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

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

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index b9b74d7..8a71682 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 package --file pom.xml --no-transfer-progress
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 44b4fda..61408b1 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -56,6 +56,7 @@ The <action> type attribute can be add,update,fix,remove.
       <action                        dev="ggregory" type="update" due-to="Emmanuel Lécharny">Slight optim: resuse the index position instead of recomputing it #49.</action>
       <action                        dev="ggregory" type="update" due-to="Dependabot">Bump maven-pmd-plugin from 3.13.0 to 3.14.0 #48.</action>
       <action                        dev="ggregory" type="update" due-to="Gary Gregory">Update commons.japicmp.version 0.13.0 -> 0.15.3.</action>
+      <action                        dev="ggregory" type="update" due-to="Gary Gregory">Bump build actions/setup-java from v1.4.3 to v2.</action>
     </release>
     <release version="1.4" date="2018-12-23" description="1.4 Release">
       <action issue="FILEUPLOAD-292" dev="chtompki" type="update">Don't create un-needed resources in FileUploadBase.java</action>