Use jdk file for action
This commit is contained in:
parent
99d4979678
commit
5d6cd45c50
|
@ -22,11 +22,15 @@ jobs:
|
|||
restore-keys: ${{ runner.os }}-m2
|
||||
- name: Checkout submodules
|
||||
uses: textbook/git-checkout-submodule-action@2.1.1
|
||||
- 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
|
||||
with:
|
||||
distribution: 'jdkfile'
|
||||
jdkFile: ${{ runner.temp }}/java_package.tar.gz
|
||||
java-version: '16'
|
||||
distribution: 'adopt'
|
||||
architecture: x64
|
||||
#- name: Compile Spigot
|
||||
# uses: SeanOMik/Action-SpigotMC@b23370e6a4c3e9cdd38b8d5bcd4a543f8c1e1c19
|
||||
# with:
|
||||
|
|
Loading…
Reference in New Issue