[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
parent ed222051a7
commit cc1564ab71

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: