diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e05092f..fdaed33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,7 +105,7 @@ jobs: sudo apt-get update sudo apt-get install -y msopenjdk-11 sudo update-alternatives --list java - echo "JAVA_HOME=$(dirname $(dirname $(update-alternatives --list javac)))" >> "$GITHUB_ENV" + echo "JAVA_HOME=/usr/lib/jvm/msopenjdk-11-amd64" >> "$GITHUB_ENV" if: runner.os == 'Linux' name: Install OpenJDK 11