[CI] Try to use joschi/setup-jdk@v2 to setup jdk

This commit is contained in:
SeanOMik 2021-07-20 15:45:06 -04:00 committed by GitHub
parent 691a8e14bd
commit d056ce8753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -25,11 +25,10 @@ jobs:
- name: Download OpenJDK 16
run: wget -O $RUNNER_TEMP/java_package.tar.gz https://github.com/AdoptOpenJDK/openjdk16-binaries/releases/download/jdk16u-2021-05-08-12-45/OpenJDK16U-jdk_x64_linux_hotspot_2021-05-08-12-45.tar.gz
- name: Set up JDK 16
uses: actions/setup-java@v2
uses: joschi/setup-jdk@v2
with:
distribution: 'adopt'
java-version: '16.0.1+9'
architecture: x64
java-version: '16'
architecture: 'x64'
#- name: Compile Spigot
# uses: SeanOMik/Action-SpigotMC@b23370e6a4c3e9cdd38b8d5bcd4a543f8c1e1c19
# with: