diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3dbb4dbd..2c6fced6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: matrix: os: [ ubuntu-latest ] java: [ 8, 11 ] - language: ['java'] + language: [ 'java' ] runs-on: ${{ matrix.os }} services: @@ -55,21 +55,6 @@ jobs: ports: - 8848:8848 options: --health-cmd="curl -X GET "http://localhost:8848/nacos/v1/cs/configs?dataId=*&group=&search=blur&pageNo=1&pageSize=10"" --health-interval=10s --health-timeout=5s --health-retries=3 -# store-namesrv: -# image: apache/rocketmq:4.9.7 -# ports: -# - 9876:9876 -# options: > -# sh mqnamesrv -# --health-cmd="./mqadmin clusterList -n localhost:9876" --health-interval=10s --health-timeout=5s --health-retries=3 -# store-broker: -# image: apache/rocketmq:4.9.7 -# ports: -# - 10909:10909 -# - 10911:10911 -# options: > -# sh mqbroker -n localhost:9876 -# --health-cmd="./mqadmin clusterRT -n localhost:9876" --health-interval=10s --health-timeout=5s --health-retries=3 steps: - name: Checkout repository @@ -87,15 +72,12 @@ jobs: wget https://dist.apache.org/repos/dist/release/rocketmq/4.9.8/rocketmq-all-4.9.8-bin-release.zip unzip rocketmq-all-4.9.8-bin-release.zip - - name: Set up RocketMQ Namesrv + - name: Set up RocketMQ working-directory: rocketmq-all-4.9.8-bin-release run: | nohup sh bin/mqnamesrv & sleep 5 - - - name: Set up RocketMQ Broker - working-directory: rocketmq-all-4.9.8-bin-release - run: nohup sh bin/mqbroker -n localhost:9876 & + nohup sh bin/mqbroker -n localhost:9876 & - name: Build with Maven run: ./mvnw -B package -DskipTests --file pom.xml