From 75106a43f2489c1a43c6fa93bea27cd7a29a45ea Mon Sep 17 00:00:00 2001 From: yanghuanglin Date: Fri, 21 Nov 2025 18:10:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/BuildLauncher.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/BuildLauncher.yml b/.github/workflows/BuildLauncher.yml index 0b37612..5330b2d 100644 --- a/.github/workflows/BuildLauncher.yml +++ b/.github/workflows/BuildLauncher.yml @@ -33,7 +33,10 @@ jobs: steps: - name: 克隆代码 - uses: actions/checkout@v4 + run: | + # 直接克隆当前仓库 + git clone --depth 1 https://gitea.yanghuanglin.cn/${{ github.repository }} . + git checkout ${{ github.ref }} - name: 配置环境 run: |