actions: set JAVA_HOME in env
@@ -14,6 +14,7 @@ env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
CC: gcc-10
CXX: g++-10
+ JAVA_HOME: $(/usr/libexec/java_home -v 14)
jobs:
build:
@@ -28,6 +29,7 @@ jobs:
- name: Install Dependencies
run: |
+ echo $JAVA_HOME
brew update
brew config
brew install augeas
@@ -68,7 +70,6 @@ jobs:
run: |
PATH="/usr/local/opt/ruby@2.7/bin:/usr/local/lib/ruby/gems/2.7.0/bin:$PATH"
PATH="/usr/local/opt/python@3.9/bin:$PATH"
- JAVA_HOME="$(/usr/libexec/java_home -v 14)"
echo $JAVA_HOME
which java
java --version
@@ -111,5 +112,6 @@ jobs:
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: |
+ echo $JAVA_HOME
cmake --build . --target run_all
kdb run_all
