Explicitly install Java for Windows in CI (#4030)

This commit is contained in:
Tayou 2025-08-01 08:24:50 +02:00 committed by GitHub
commit 79b7e277f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,6 +25,14 @@ runs:
arch: ${{ inputs.vcvars-arch }}
vsversion: 2022
- name: Setup Java (MSVC)
uses: actions/setup-java@v4
with:
# NOTE(@getchoo): We should probably stay on Zulu.
# Temurin doesn't have Java 17 builds for WoA
distribution: zulu
java-version: 17
- name: Setup vcpkg cache (MSVC)
if: ${{ inputs.msystem == '' && inputs.build-type == 'Debug' }}
shell: pwsh