From 55b12bc36412bc1428072d6906ad7bfbc9bad9d3 Mon Sep 17 00:00:00 2001 From: He Wang Date: Mon, 24 Jun 2024 19:08:38 +0800 Subject: [PATCH] fix mode check --- .github/workflows/java-test-oceanbase-ce.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/java-test-oceanbase-ce.yml b/.github/workflows/java-test-oceanbase-ce.yml index 289ddb7..3d98541 100644 --- a/.github/workflows/java-test-oceanbase-ce.yml +++ b/.github/workflows/java-test-oceanbase-ce.yml @@ -65,7 +65,7 @@ jobs: - name: Set server IP id: set_server_ip run: | - if [ ${{ inputs.mode == 'slim' }} ]; then + if [ "${{ inputs.mode }}" == "slim" ]; then echo "Use '127.0.0.1' as server_ip on slim mode." echo "server_ip=127.0.0.1" >> $GITHUB_OUTPUT else