From 9438f5fda167ca317738014b85b1627c67864435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kl=C3=B6tzke?= Date: Sat, 2 Nov 2024 08:18:22 +0100 Subject: [PATCH] workflow: fix java selection on Windows The setup-java action should be sufficient. --- .github/workflows/workflow.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 95d1b19a..06e8a2b7 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -100,8 +100,7 @@ jobs: run: | git config --global init.defaultBranch master # keep the old name git config --global protocol.file.allow always # roll back CVE-2022-39253 - $env:PATH = "$env:JAVA_HOME_11_X64\bin;$env:PATH;C:\msys64\usr\bin" - $env:JAVA_HOME = "$env:JAVA_HOME_11_X64" + $env:PATH = "$env:PATH;C:\msys64\usr\bin" bash ./test/run-tests.sh -c xml - name: Upload coverage to Codecov