You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by su...@apache.org on 2023/04/18 11:58:14 UTC

[shardingsphere] branch master updated: fix nightly build (#25068)

This is an automated email from the ASF dual-hosted git repository.

sunnianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new ad76bdb8ea9 fix nightly build (#25068)
ad76bdb8ea9 is described below

commit ad76bdb8ea930884e79b474ff4cd1b64634d8111
Author: Guocheng Tang <to...@apache.org>
AuthorDate: Tue Apr 18 19:57:58 2023 +0800

    fix nightly build (#25068)
    
    * fix nightly build
    
    * Restoring code
---
 .github/workflows/nightly-build-example.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/nightly-build-example.yml b/.github/workflows/nightly-build-example.yml
index 3ff6a81a863..4956ddd2de0 100644
--- a/.github/workflows/nightly-build-example.yml
+++ b/.github/workflows/nightly-build-example.yml
@@ -86,8 +86,6 @@ jobs:
         ports:
           - 3306:3306
         options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
-        volumes:
-          - .github/workflows/resources/scripts/nightly-build-example/init-mysql-container.sh:/docker-entrypoint-initdb.d/
       zookeeper:
         image: zookeeper:3.6.3
         ports:
@@ -105,6 +103,8 @@ jobs:
           key: ${{ env.REPOSITORY_NAME }}-maven-third-party-${{ hashFiles('**/pom.xml') }}
           restore-keys: |
             ${{ env.REPOSITORY_NAME }}-maven-third-party-
+      - name: Prepare environments
+        run: sh .github/workflows/resources/scripts/nightly-build-example/init-mysql-container.sh
       - name: Build with Maven
         run: ./mvnw -B -T1C -ntp clean install -DskipITs -DskipTests
       - name: Generate examples