<fix>(script,ci): relax check restriction of openssl version 3.x, version to 1.4.0, update ci to check in jdk 8.0.382. #118
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: bcos-fabric2 | |
on: [pull_request] | |
jobs: | |
bcos-fabric2: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2-beta | |
with: | |
node-version: '10' | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.15.x | |
- uses: mirromutth/[email protected] | |
with: | |
mysql root password: '123456' | |
- name: install dependencies | |
run: sudo apt-get update && sudo apt-get install -y mysql-client git curl libssl-dev build-essential | |
- name: Set up JDK 1.8.0.382 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '8.0.382' | |
- name: run ci_cross_fabric2_demo_check.sh | |
# The script only use ${1} as branch name. if GITHUB_BASE_REF is blank use GITHUB_REF | |
run: java -version && bash .ci/ci_cross_fabric2_demo_check.sh ${GITHUB_BASE_REF} ${GITHUB_REF#refs/heads/} | |
env: | |
CI_DB_PASSWORD : '123456' |