mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
fix: 仅处理kubecm目录,跳过其他目录
This commit is contained in:
6
.github/workflows/scripts/ci-sub.sh
vendored
6
.github/workflows/scripts/ci-sub.sh
vendored
@ -35,6 +35,12 @@ for file in `find . -name go.mod`; do
|
||||
dirpath=$(dirname $file)
|
||||
echo "Processing: $dirpath"
|
||||
|
||||
# Only process kubecm directory, skip others
|
||||
if [ "kubecm" != $(basename $dirpath) ]; then
|
||||
echo " Skipping: not kubecm directory"
|
||||
continue
|
||||
fi
|
||||
|
||||
cd $dirpath
|
||||
|
||||
# Read Go version requirement from go.mod
|
||||
|
||||
Reference in New Issue
Block a user