[CI-SKIP] ci: update setup-java action (#5710)

* ci: update setup-java action
* ci: change java distribution to adopt

Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com>
This commit is contained in:
Mariell Hoversholm 2021-05-23 14:18:19 +02:00 committed by GitHub
parent c58b3b277c
commit f775e87b4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -18,9 +18,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: JDK ${{ matrix.java }}
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
- name: Cache maven
uses: actions/cache@v2
with: