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:02:18 UTC

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


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

commit 681896f6089b69e040dda0fc19ecf732768c850e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Apr 19 10:02:13 2021 -0400

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

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
new file mode 100644
index 0000000..702e6a1
--- /dev/null
+++ b/src/changes/changes.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!--
+This file is used by the maven-changes-plugin to generate the release notes.
+Useful ways of finding items to add to this file are:
+
+1.  Add items when you fix a bug or add a feature (this makes the
+release process easy :-).
+
+2.  Do a Jira search for tickets closed since the previous release.
+
+3.  Use the report generated by the maven-changelog-plugin to see all
+CVS commits.  Set the project.properties' maven.changelog.range
+property to the number of days since the last release.
+
+
+To generate the release notes from this file:
+
+mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=nnn]
+
+then tweak the source formatting if necessary and regenerate, then commit
+
+The <action> type attribute can be add,update,fix,remove.
+-->
+
+<document>
+  <properties>
+    <title>Apache Commons JEXL Release Notes</title>
+  </properties>
+
+  <body>
+    <!-- The release date is the date RC is cut -->
+    <release version="3.2" date="YYYY-MM-DD" description="TBD.">
+      <!-- FIX -->
+      <!-- ADD -->
+      <!-- UPDATES -->
+      <action dev="ggregory" type="update" due-to="Gary Gregory">
+        Bump actions/setup-java from v1.4.3 to v2 #160.
+      </action>
+    </release>
+  </body>
+</document>