Skip to content

Commit 5c2ee0e

Browse files
committed
Change java path on windows
1 parent 6c89366 commit 5c2ee0e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-binary-packages.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,10 @@ jobs:
179179
shell: msys2 {0}
180180
run: |
181181
echo $JAVA_HOME_8_X64
182-
ls /c/hostedtoolcache/windows/Java_Adopt_jdk/8.0.292-10/x64
183-
export JDKPATH=/c/hostedtoolcache/windows/Java_Adopt_jdk/8.0.292-10/x64
182+
export JDKPATH="$(cygpath -u "${JAVA_HOME_8_X64}")"
183+
echo $JDKPATH
184+
ls /c/hostedtoolcache/windows/Java_Adopt_jdk/
185+
# export JDKPATH=/c/hostedtoolcache/windows/Java_Adopt_jdk/8.0.292-10/x64
184186
export PATH="${PATH}:${JDKPATH}/bin"
185187
cd src/runtime/java
186188
make \

0 commit comments

Comments
 (0)