From d056ce8753e2129a032a4d188925ae3e0904d5b9 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Tue, 20 Jul 2021 15:45:06 -0400 Subject: [PATCH] [CI] Try to use joschi/setup-jdk@v2 to setup jdk --- .github/workflows/maven.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 82405a0..0624f5d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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: