Skip to content

Update README-zh.md #187

Update README-zh.md

Update README-zh.md #187

Workflow file for this run

name: build & test
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
build:
name: build & test
runs-on: ubuntu-latest
services:
etcd:
image: gcr.io/etcd-development/etcd:v3.5.0
ports:
- 2379:2379
env:
ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379
ETCD_ADVERTISE_CLIENT_URLS: http://0.0.0.0:2379
consul:
image: consul:latest
ports:
- 8500:8500
nacos:
image: nacos/nacos-server:latest
env:
MODE: standalone
ports:
- "8848:8848"
- "9848:9848"
polaris:
image: polarismesh/polaris-server-standalone:latest
ports:
- 8090:8090
- 8091:8091
eureka:
image: huyuanxin/eureka-server:3.1.2
ports:
- 8761:8761
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set up Java jdk
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
settings-path: ${{ github.workspace }}
- name: test
run: mvn test
- name: build
run: mvn -Dmaven.test.skip=true clean install -U