Skip to content

Commit

Permalink
Work around MacOS X static libs issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jerboaa authored and zakkak committed Jan 9, 2024
1 parent 191abaa commit e88c8b3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/buildJDK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ jobs:
mkdir -p ${JAVA_HOME}
tar xf jdk.tar.gz -C ${JAVA_HOME} --strip-components=1
tar xf jdk-static-libs.tar.gz -C ${JAVA_HOME} --strip-components=1
# work-around for https://github.com/adoptium/temurin-build/issues/3602
pushd ${MAC_JAVA_HOME}
if [ -e lib/static/darwin-arm64 ]; then
mv lib/static/darwin-arm64 lib/static/darwin-amd64
fi
popd
echo ${MAC_JAVA_HOME}
${MAC_JAVA_HOME}/bin/java --version
- name: Use python 3.10
Expand Down

0 comments on commit e88c8b3

Please sign in to comment.