Bumps [actions/setup-java](https://github.com/actions/setup-java) from v1 to v2.
Using AdoptOpenJDK.
@@ -26,8 +26,9 @@ jobs:
maven-${{ matrix.os }}-java${{ matrix.java }}-
maven-${{ matrix.os }}-
- name: Set up JDK
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v2
with:
+ distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: Build with Maven
