Update `actions/setup-java` to v2.
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index edec437..ce18252 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -45,8 +45,9 @@
         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 227bc60..118b278 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -81,6 +81,9 @@
             <action type="update" dev="ggregory" due-to="Gary Gregory">
                 Update from Apache Commons Lang 3.10 to 3.12.0.
             </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="3.0" date="2020-08-16">
             <action issue="JCS-205" dev="tv" type="fix">