Update GitHub Action CI build.
@@ -19,9 +19,11 @@ jobs:
steps:
- uses: actions/checkout@v2.3.4
- name: Set up JDK 11
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v2
with:
- java-version: 11
+ distribution: 'adopt'
+ java-version: '11'
+ check-latest: true
- name: Cache local Maven repository
uses: actions/cache@v2.1.4
with:
