This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git
The following commit(s) were added to refs/heads/main by this push:
new 192e957a [chore](workflow) Set up environments for OpenJDK 8 (#81)
192e957a is described below
commit 192e957a08e045d8062e7c82371c1bd3a5022a82
Author: Adonis Ling <[email protected]>
AuthorDate: Mon May 29 11:58:27 2023 +0800
[chore](workflow) Set up environments for OpenJDK 8 (#81)
#80 didn't set the environment variables and the workflow still uses
OpenJDK 11 to build the packages.
---
.github/workflows/build-1.2.yml | 2 ++
.github/workflows/build.yml | 2 ++
2 files changed, 4 insertions(+)
diff --git a/.github/workflows/build-1.2.yml b/.github/workflows/build-1.2.yml
index 951ead08..4f144e4f 100644
--- a/.github/workflows/build-1.2.yml
+++ b/.github/workflows/build-1.2.yml
@@ -196,6 +196,8 @@ jobs:
if [[ "${{ matrix.config.name }}" == 'Linux' ]]; then
export DEFAULT_DIR='/opt/doris'
export PATH="${DEFAULT_DIR}/ldb-toolchain/bin:${PATH}"
+ export PATH="$(find /usr/lib/jvm/java-8-openjdk* -maxdepth 1 -type
d -name 'bin'):${PATH}"
+ export JAVA_HOME="$(find /usr/lib/jvm/java-8-openjdk* -maxdepth 0)"
fi
cd thirdparty
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7e176f6f..0aee1839 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -184,6 +184,8 @@ jobs:
if [[ "${{ matrix.config.name }}" == 'Linux' ]]; then
export DEFAULT_DIR='/opt/doris'
export PATH="${DEFAULT_DIR}/ldb-toolchain/bin:${PATH}"
+ export PATH="$(find /usr/lib/jvm/java-8-openjdk* -maxdepth 1 -type
d -name 'bin'):${PATH}"
+ export JAVA_HOME="$(find /usr/lib/jvm/java-8-openjdk* -maxdepth 0)"
fi
cd thirdparty
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]