actions: debug java paths
@@ -71,7 +71,12 @@ jobs:
cmake -E make_directory ${{runner.workspace}}/build
echo "INSTALL_DIR=${{runner.workspace}}/build/install" >> $GITHUB_ENV
echo "$INSTALL_DIR/bin" >> $GITHUB_PATH
- echo $JAVA_HOME
+ echo $JAVA_HOME || true
+ which javac || true
+ javac --version || true
+ echo "$JAVA_HOME/bin" >> $GITHUB_PATH
+ which javac || true
+ javac --version || true
- name: Configure CMake
# Use a bash shell so we can use the same syntax for environment variable
