diff --git a/.github/workflows/chatci.yml b/.github/workflows/chatci.yml index e7210eaa1..c54e08219 100644 --- a/.github/workflows/chatci.yml +++ b/.github/workflows/chatci.yml @@ -64,14 +64,3 @@ jobs: run: | sudo bash bootstrap.sh echo "init successfully" - - - name: build and start - run: | - mage start - mage check - - - name: restart - run: | - mage stop - mage start - mage check diff --git a/.github/workflows/scripts-test.yml b/.github/workflows/scripts-test.yml index 34be2029e..b66e8a9b1 100644 --- a/.github/workflows/scripts-test.yml +++ b/.github/workflows/scripts-test.yml @@ -43,17 +43,6 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Set up environment - run: | - if [ "$RUNNER_OS" == "Linux" ]; then - sudo apt-get update - # Add other Linux specific setup here - elif [ "$RUNNER_OS" == "macOS" ]; then - # Add macOS specific setup here - brew update - fi - shell: bash - # - name: Install latest Bash (macOS only) # if: runner.os == 'macOS' # run: | @@ -69,13 +58,6 @@ jobs: # brew install --cask docker # open /Applications/Docker.app - - name: Build Chat - run: | - sudo bash bootstrap.sh - sudo mage - sudo mage start - shell: bash - - name: deploy all services run: | git clone https://github.com/openimsdk/open-im-server.git @@ -95,6 +77,13 @@ jobs: shell: bash continue-on-error: true + - name: Build Chat + run: | + sudo bash bootstrap.sh + sudo mage + sudo mage start + shell: bash + - name: Print chat_$(date '+%Y%m%d').log run: | ls -al && echo "pwd = $(pwd)"