File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 run : |
3737 . asdf/asdf.sh
3838 asdf plugin-test java "$GITHUB_WORKSPACE" --asdf-plugin-gitref "$GITHUB_SHA" --asdf-tool-version adoptopenjdk-8.0.252+9.1.openj9-0.20.0 java -version
39+ - name : macOS Check java_home integration
40+ if : matrix.os == 'macOS-latest'
41+ env :
42+ GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43+ run : |
44+ export ASDF_CONFIG_FILE=${HOME}"/.asdfrc"
45+ echo "java_macos_integration_enable = yes" > "${ASDF_CONFIG_FILE}"
46+ . asdf/asdf.sh
47+ asdf plugin-test java "$GITHUB_WORKSPACE" --asdf-plugin-gitref "$GITHUB_SHA" --asdf-tool-version zulu-8.52.0.23 /usr/libexec/java_home -V 2>&1 | grep "Zulu 8.52.0.23"
3948 - name : macOS Check java_home integration Liberica
4049 if : matrix.os == 'macOS-latest'
4150 env :
Original file line number Diff line number Diff line change 55 - cron : ' 30 */8 * * *'
66jobs :
77 update :
8+ if : github.repository == 'halcyon/asdf-java'
89 runs-on : ' ubuntu-latest'
910 steps :
1011 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ function install {
145145 mv ./* " ${ASDF_INSTALL_PATH} "
146146 if [[ " $( get_asdf_config_value " java_macos_integration_enable" ) " = " yes" ]]; then
147147 local macOS_integration_path
148- macOS_integration_path=" $( dirname " $( dirname " $( dirname " $( absolute_dir_path " ${ASDF_INSTALL_PATH} /release " ) " ) " ) " ) "
148+ macOS_integration_path=" $( dirname " $( dirname " $( dirname " $( absolute_dir_path " ${ASDF_INSTALL_PATH} /bin/.. " ) " ) " ) " ) "
149149 java_macos_integration_install " $macOS_integration_path "
150150 fi
151151 ;;
You can’t perform that action at this time.
0 commit comments