[CI] Try to use joschi/setup-jdk@v2 to setup jdk
This commit is contained in:
parent
691a8e14bd
commit
d056ce8753
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue