From 3778f24107dc300c38c4f7e9e9ab585fa67775f0 Mon Sep 17 00:00:00 2001 From: dixyes Date: Mon, 2 Oct 2023 00:30:07 +0800 Subject: [PATCH] No shallow fetch --- .github/workflows/linux-new.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux-new.yml b/.github/workflows/linux-new.yml index 1a24f3d..ce29ab1 100644 --- a/.github/workflows/linux-new.yml +++ b/.github/workflows/linux-new.yml @@ -262,7 +262,7 @@ jobs: # prepare lwmbs cd /lwmbs git remote set-url origin "https://github.com/${{ inputs.workflowRepo || github.repository }}" - git fetch --depth 1 origin ${{ inputs.workflowRev || github.sha }} + git fetch origin ${{ inputs.workflowRev || github.sha }} git checkout FETCH_HEAD cd /