Explicitly install Java for Windows in CI (#4030)
Some checks failed
Build / Build (Linux) (push) Has been cancelled
Build / Build (Linux-aarch64) (push) Has been cancelled
Build / Build (Windows-MSVC) (push) Has been cancelled
Build / Build (Windows-MSVC-arm64) (push) Has been cancelled
Build / Build (Windows-MinGW-arm64) (push) Has been cancelled
Build / Build (Windows-MinGW-w64) (push) Has been cancelled
Build / Build (macOS) (push) Has been cancelled
CodeQL Code Scanning / CodeQL (push) Has been cancelled
Flatpak / Build (aarch64) (push) Has been cancelled
Flatpak / Build (x86_64) (push) Has been cancelled
Nix / Build (x86_64-darwin) (push) Has been cancelled
Nix / Build (aarch64-darwin) (push) Has been cancelled
Nix / Build (x86_64-linux) (push) Has been cancelled
Nix / Build (aarch64-linux) (push) Has been cancelled

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