File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,8 @@ check_wasm_node()
152152 # # clean
153153 clean_node " ${1} "
154154}
155+ LOG_INFO " ------ check java version ---------"
156+ java -version
155157
156158pwd
157159ls -la
Original file line number Diff line number Diff line change @@ -36,11 +36,16 @@ jobs:
3636 - name : install Ubuntu dependencies
3737 if : runner.os == 'Linux'
3838 run : |
39- sudo apt update && sudo apt install -y git curl libssl-dev default-jdk build-essential ccache
39+ sudo apt update && sudo apt install -y git curl libssl-dev build-essential ccache
4040 - name : install macOS dependencies
4141 if : runner.os == 'macOS'
4242 run : |
43- brew install openssl@1.1 openjdk ccache
43+ brew install openssl@1.1 ccache
44+ - name : Set up JDK 1.8.0.345
45+ uses : actions/setup-java@v3
46+ with :
47+ distribution : ' zulu'
48+ java-version : ' 8.0.345'
4449 - name : run build test
4550 if : runner.os == 'Windows'
4651 run : ./gradlew.bat build
7782 build-${{ matrix.os }}-${{ github.base_ref }}-
7883 build-${{ matrix.os }}-
7984 - name : install CentOS dependencies
80- run : yum install -y epel-release centos-release-scl wget which git openssl-devel openssl java java-devel tree
85+ run : yum install -y epel-release centos-release-scl wget which git openssl-devel openssl tree
86+ - name : Set up JDK 1.8.0.345
87+ uses : actions/setup-java@v3
88+ with :
89+ distribution : ' zulu'
90+ java-version : ' 8.0.345'
8191 - name : run build test
8292 run : /bin/bash gradlew build --info
8393 - name : run integration testing
You can’t perform that action at this time.
0 commit comments