瀏覽代碼

fix(action): remove depth option from repo sync command for improved synchronization

TheWildJames 4 月之前
父節點
當前提交
c8ed4927e1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/actions/download-kernel/action.yml

+ 1 - 1
.github/actions/download-kernel/action.yml

@@ -56,7 +56,7 @@ runs:
         while [ $attempt -le $MAX_RETRIES ]; do
           echo "Attempt $attempt/$MAX_RETRIES: repo sync (timeout $SYNC_TIMEOUT)..."
           #if timeout $SYNC_TIMEOUT repo sync -c -j16 --fail-fast --no-tags --force-sync --no-clone-bundle --optimized-fetch --retry-fetches=3; then
-          if timeout $SYNC_TIMEOUT repo sync -c --no-tags --no-clone-bundle --optimized-fetch --retry-fetches=3 --depth=1; then
+          if timeout $SYNC_TIMEOUT repo sync -c --no-tags --no-clone-bundle --optimized-fetch --retry-fetches=3; then
             echo "repo sync succeeded on attempt $attempt."
             break
           fi