From c49b7d5d5f5fe339fcd5838d7af9112f4f0e2a7d Mon Sep 17 00:00:00 2001 From: wenlinli <1574249665@qq.com> Date: Fri, 21 Jul 2023 10:49:23 +0800 Subject: [PATCH] upgrade openjdk version (#805) --- .ci/ci_check.sh | 3 ++- .github/workflows/workflow.yml | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.ci/ci_check.sh b/.ci/ci_check.sh index 069f5a8b3..2988743ba 100755 --- a/.ci/ci_check.sh +++ b/.ci/ci_check.sh @@ -152,8 +152,9 @@ check_wasm_node() ## clean clean_node "${1}" } - +LOG_INFO "------ check java version ---------" java -version + pwd ls -la export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 1325f6102..41230a32f 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -80,8 +80,13 @@ jobs: build-${{ matrix.os }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} build-${{ matrix.os }}-${{ github.base_ref }}- build-${{ matrix.os }}- + - name: Set up JDK 1.8.0.345 + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: '8.0.345' - name: install CentOS dependencies - run: yum install -y epel-release centos-release-scl wget which git openssl-devel openssl java java-devel tree + run: yum install -y epel-release centos-release-scl wget which git openssl-devel openssl tree - name: run build test run: /bin/bash gradlew build --info - name: run integration testing