From db963eb5dea03f0d74fed18cccaa627af220950b Mon Sep 17 00:00:00 2001 From: Josiah Glosson Date: Fri, 27 Jun 2025 10:44:36 -0500 Subject: [PATCH] Set `JAVA_HOME` to `JAVA_HOME_11_X64` on Windows for theseus-release (#3848) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Set JAVA_HOME to JAVA_HOME_11_X64 on Windows for theseus-release * Add quotes around $env:JAVA_HOME_11_X64 Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com> Signed-off-by: Josiah Glosson --------- Signed-off-by: Josiah Glosson Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com> --- .github/workflows/theseus-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/theseus-release.yml b/.github/workflows/theseus-release.yml index 4628ca117..a95f1e024 100644 --- a/.github/workflows/theseus-release.yml +++ b/.github/workflows/theseus-release.yml @@ -147,6 +147,7 @@ jobs: run: | [System.Convert]::FromBase64String("$env:DIGICERT_ONE_SIGNER_CLIENT_CERTIFICATE_BASE64") | Set-Content -Path signer-client-cert.p12 -AsByteStream $env:DIGICERT_ONE_SIGNER_CREDENTIALS = "$env:DIGICERT_ONE_SIGNER_API_KEY|$PWD\signer-client-cert.p12|$env:DIGICERT_ONE_SIGNER_CLIENT_CERTIFICATE_PASSWORD" + $env:JAVA_HOME = "$env:JAVA_HOME_11_X64" pnpm --filter=@modrinth/app run tauri build --config tauri-release.conf.json --verbose --bundles 'nsis,updater' Remove-Item -Path signer-client-cert.p12 if: startsWith(matrix.platform, 'windows')