From 7edaf4ab06962c7815096ebf17a6e2b82da11ad7 Mon Sep 17 00:00:00 2001 From: Dylan Perks <11160611+Perksey@users.noreply.github.com> Date: Thu, 6 Jun 2024 14:50:50 -0500 Subject: [PATCH] Install JDK 21 AND 11 --- .github/workflows/sdl2.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sdl2.yml b/.github/workflows/sdl2.yml index 2b948fd1b4..f1d143cee2 100644 --- a/.github/workflows/sdl2.yml +++ b/.github/workflows/sdl2.yml @@ -53,11 +53,11 @@ jobs: continue-on-error: true if: runner.os == 'Windows' run: dotnet tool install --global PowerShell - - name: Setup Java JDK 11 + - name: Setup Java JDK 21 uses: actions/setup-java@v2.3.0 if: runner.os == 'Windows' with: - java-version: 11 + java-version: 21 distribution: "temurin" - name: Set PATH if: runner.os == 'Windows' @@ -78,6 +78,12 @@ jobs: sdkmanager --install "platforms;android-33" sdkmanager --install "platforms;android-34" sdkmanager --install "ndk-bundle" + - name: Setup Java JDK 11 + uses: actions/setup-java@v2.3.0 + if: runner.os == 'Windows' + with: + java-version: 11 + distribution: "temurin" # Install CMake - uses: lukka/get-cmake@latest if: runner.os != 'Linux'