Skip to content

Commit 37027ae

Browse files
committed
fix corner issue
Signed-off-by: chensuyue <[email protected]>
1 parent 3dcc1e0 commit 37027ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/scripts/get_cicd_list.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
WORKPATH=$PWD
66
# echo "mode is: "$1 "compose file is: "$2
7-
git clone https://github.com/opea-project/GenAIExamples.git
7+
if [ ! -d GenAIExamples ]; then
8+
git clone https://github.com/opea-project/GenAIExamples.git
9+
fi
810
all_ci_yaml=$(find GenAIExamples -name "build.yaml")
911
all_ci_lists=$(grep '^[[:space:]]\{2\}[a-zA-Z0-9_-]\+:' $all_ci_yaml | awk -F: '{print$2}' | sed 's/^[[:space:]]\+//' | tr '\n' ',' | sed 's/,$//')
1012

0 commit comments

Comments
 (0)