Skip to content

Commit 2dac3bd

Browse files
committed
upgrade openjdk version
1 parent a5fa0af commit 2dac3bd

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.ci/ci_check.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ check_wasm_node()
153153
clean_node "${1}"
154154
}
155155

156+
java -version
156157
pwd
157158
ls -la
158159
export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

.github/workflows/workflow.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff 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 [email protected] openjdk ccache
43+
brew install [email protected] ccache
44+
- name: Set up JDK 1.8
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

0 commit comments

Comments
 (0)