fix: remove chat error.

pull/2511/head
Monet Lee 1 year ago
parent 5511ad348d
commit c50bce3909

@ -47,18 +47,17 @@ jobs:
# sudo sleep 30 # Increased sleep time for better stability # sudo sleep 30 # Increased sleep time for better stability
# timeout-minutes: 60 # Increased timeout for Docker setup # 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 # - name: Update .env
# id: get-ip # run: |
# run: | # sed -i 's|externalAddress:.*|externalAddress: "http://${{ steps.get-ip.outputs.ip }}:10005"|' config/minio.yml
# IP=$(hostname -I | awk '{print $1}') # cat config/minio.yml
# 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: Build and test Server Services - name: Build and test Server Services
run: | run: |
@ -72,16 +71,12 @@ jobs:
repository: "openimsdk/chat" repository: "openimsdk/chat"
path: "chat-repo" path: "chat-repo"
- name: Get Chat dependencies - name: Build and test Chat Services
run: | run: |
cd ${{ github.workspace }}/chat-repo cd ${{ github.workspace }}/chat-repo
go install github.com/magefile/mage@latest
go mod tidy go mod tidy
go mod download go mod download
go install github.com/magefile/mage@latest
- name: Build and test Chat Services
run: |
cd ${{ github.workspace }}/chat-repo
sudo mage build sudo mage build
sudo mage start sudo mage start
sudo mage check sudo mage check

Loading…
Cancel
Save