From c6bbd09f72bd289f79432f178ffd979eae9e20b3 Mon Sep 17 00:00:00 2001 From: xaoyaoo Date: Wed, 29 Nov 2023 20:57:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dpublish?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3bdf5c3..cb66674 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,8 +17,8 @@ jobs: - name: Checkout repository # 检出仓库 uses: actions/checkout@v2 # 使用 GitHub 官方的 checkout action - - name: Set git fetch --prune --unshallow - - run: | + - name: Set git fetch depth # 设置 git fetch 深度 + run: | git fetch --prune --unshallow # 获取完整的 git 历史记录 - name: Set up Python # 设置 Python 环境