From aaf85d1c83abc7a69bfaea475a518a5e0a1c7bfd Mon Sep 17 00:00:00 2001 From: wenlinli <1574249665@qq.com> Date: Fri, 21 Jul 2023 10:49:57 +0800 Subject: [PATCH] update openjdk version (#780) --- .ci/ci_check.sh | 2 ++ .github/workflows/workflow.yml | 9 +++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.ci/ci_check.sh b/.ci/ci_check.sh index 80fc3d24..08cb0939 100755 --- a/.ci/ci_check.sh +++ b/.ci/ci_check.sh @@ -114,6 +114,8 @@ bash gradlew test bash gradlew integrationTest --info } +LOG_INFO "------ check_java_version---------" +java -version #cp src/integration-test/resources/config-example.toml src/integration-test/resources/config.toml download_tassl LOG_INFO "------ download_binary: v3.3.0---------" diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index c0060581..570f6df5 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -21,10 +21,15 @@ jobs: fetch-depth: 5 - name: install Ubuntu dependencies if: runner.os == 'Linux' - run: sudo apt update && sudo apt install -y git curl libssl-dev default-jdk build-essential openssl + run: sudo apt update && sudo apt install -y git curl libssl-dev build-essential openssl - name: install macOS dependencies if: runner.os == 'macOS' - run: brew install openssl@1.1 openjdk + run: brew install openssl@1.1 + - name: Set up JDK 1.8 + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: '8.0.345' - name: run build test if: runner.os == 'Windows' run: ./gradlew.bat build