From ab2f5cd1d6fc61d0a42cef290775b1b91600443a Mon Sep 17 00:00:00 2001 From: zscqsmy <1228075512@qq.com> Date: Wed, 21 Feb 2024 16:29:22 +0800 Subject: [PATCH] change update.yml --- .github/workflows/update.yml | 3 ++- main.sh | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 8da1e0b..d99cd50 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -54,7 +54,8 @@ jobs: cache-version: 1 - name: Run bash scripts1 run: | - ls -al ./metadata + git submodule update --init --recursive + ls -al ./metadata/journals - name: Run bash scripts2 run: | diff --git a/main.sh b/main.sh index 9af6a4c..0d98a09 100644 --- a/main.sh +++ b/main.sh @@ -5,7 +5,6 @@ git config user.email 1228075512@qq.com check_submodule() { # 获取子模块列表 - git submodule update --remote submodules=$(git submodule | awk '{print $2}') # 遍历每个子模块