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:06:01 UTC
[commons-parent] 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-parent.git
The following commit(s) were added to refs/heads/master by this push:
new f26577b Update `actions/setup-java` to v2.
f26577b is described below
commit f26577bb67ab488c3ea56e3f85c66e251540c57c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Apr 19 10:05: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 6b47b85..c3584d6 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 aaf6c0f..a018ed0 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -86,6 +86,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="update" dev="ggregory" due-to="Dependabot">Bump actions/cache from v2 to v2.1.4 #29.</action>
<action type="update" dev="ggregory" due-to="Dependabot">Bump animal-sniffer-maven-plugin from 1.19 to 1.20 #30.</action>
<action type="update" dev="ggregory" due-to="Dependabot">Bump checkstyle from 8.40 to 8.41 #33.</action>
+ <action type="update" dev="ggregory" due-to="Gary Gregory">Bump actions/setup-java from v1.4.0 to v2.</action>
</release>
<release version="52" date="2020-07-30" description="Add support for Java 15.">