[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

View file

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