From ce1bdac2bc9df04a9b39f966f6f984e78351478f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A9=E5=98=89=E4=B9=90?= Date: Tue, 13 Jan 2026 22:57:43 +0800 Subject: [PATCH] action[ohos] fix the cnt of commit in ohos.yml --- .github/workflows/ohos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ohos.yml b/.github/workflows/ohos.yml index 1a58d93d..5f564f9a 100644 --- a/.github/workflows/ohos.yml +++ b/.github/workflows/ohos.yml @@ -66,8 +66,8 @@ jobs: UPSTREAM_REPO="https://github.com/EasyTier/EasyTier.git" git remote add upstream "$UPSTREAM_REPO" 2>/dev/null || true - git fetch upstream --tags --force - git fetch upstream main + git fetch --unshallow upstream main || git fetch upstream main + git fetch --tags upstream --force # 读取 cargo 版本 CARGO_VERSION=$(cargo metadata --format-version 1 --no-deps --manifest-path easytier/Cargo.toml \