From c50bce390970be220a1044dbcfd9f712203ed53d Mon Sep 17 00:00:00 2001 From: Monet Lee Date: Mon, 12 Aug 2024 17:26:12 +0800 Subject: [PATCH] fix: remove chat error. --- .github/workflows/go-build-test.yml | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/.github/workflows/go-build-test.yml b/.github/workflows/go-build-test.yml index 8d852e6bb..891ca64b3 100644 --- a/.github/workflows/go-build-test.yml +++ b/.github/workflows/go-build-test.yml @@ -47,18 +47,17 @@ jobs: # sudo sleep 30 # Increased sleep time for better stability # timeout-minutes: 60 # Increased timeout for Docker setup + # - name: Get Internal IP Address + # id: get-ip + # run: | + # IP=$(hostname -I | awk '{print $1}') + # echo "The IP Address is: $IP" + # echo "::set-output name=ip::$IP" - # - name: Get Internal IP Address - # id: get-ip - # run: | - # IP=$(hostname -I | awk '{print $1}') - # echo "The IP Address is: $IP" - # echo "::set-output name=ip::$IP" - - # - name: Update .env - # run: | - # sed -i 's|externalAddress:.*|externalAddress: "http://${{ steps.get-ip.outputs.ip }}:10005"|' config/minio.yml - # cat config/minio.yml + # - name: Update .env + # run: | + # sed -i 's|externalAddress:.*|externalAddress: "http://${{ steps.get-ip.outputs.ip }}:10005"|' config/minio.yml + # cat config/minio.yml - name: Build and test Server Services run: | @@ -72,16 +71,12 @@ jobs: repository: "openimsdk/chat" path: "chat-repo" - - name: Get Chat dependencies + - name: Build and test Chat Services run: | cd ${{ github.workspace }}/chat-repo - go install github.com/magefile/mage@latest go mod tidy go mod download - - - name: Build and test Chat Services - run: | - cd ${{ github.workspace }}/chat-repo + go install github.com/magefile/mage@latest sudo mage build sudo mage start sudo mage check