From e0f4cb14a041508553907f3ae194b0711d1d83e0 Mon Sep 17 00:00:00 2001 From: Antigravity Date: Sat, 19 Sep 2026 11:43:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E4=BD=BF=E7=94=A8=E5=85=AC=E5=BC=80?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E5=85=8B=E9=9A=86=E4=BB=A3=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=20Runner=20=E6=97=A0=E6=B3=95=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=E5=86=85=E9=83=A8=20gitea=20=E4=B8=BB=E6=9C=BA?= =?UTF-8?q?=E5=90=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 2dc4ae6..a83b0ee 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -13,7 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + run: | + git clone --depth=1 "https://${{ gitea.actor }}:${{ secrets.GITHUB_TOKEN }}@git.openlocalpdf.com/${{ gitea.repository }}.git" . + git checkout "${{ github.sha }}" || true - name: Check Runner Environment run: |