From 131174203a6ddbc4fd58616673ab12a7571bf903 Mon Sep 17 00:00:00 2001 From: Yang Chiu Date: Mon, 19 Aug 2024 16:44:46 +0800 Subject: [PATCH] test Signed-off-by: Yang Chiu --- .github/workflows/qase-sync.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/qase-sync.yaml b/.github/workflows/qase-sync.yaml index 2450bc0bfb..25be15a9d6 100644 --- a/.github/workflows/qase-sync.yaml +++ b/.github/workflows/qase-sync.yaml @@ -25,7 +25,7 @@ jobs: run: | test_cases=() echo "files = ${files[@]}" - files=(${files[@]}) + files=(${files}) for file in "${files[@]}"; do echo "file = $file" if [[ "${file}" == *"/manual/"* ]]; then @@ -41,7 +41,7 @@ jobs: token: ${{ secrets.QASE_TOKEN }} test_cases: ${{ env.test_cases }} run: | - test_cases=(${test_cases[@]}) + test_cases=(${test_cases}) for file_path in "${test_cases}"; do test_case_path=$(echo "${file_path#*manual/}") IFS='/' read -ra arr <<< "$test_case_path" @@ -83,6 +83,7 @@ jobs: token: ${{ secrets.QASE_TOKEN }} test_cases: ${{ env.test_cases }} run: | + test_cases=(${test_cases}) cd docs/content/manual/ for file_path in "${test_cases}"; do