From b894041def9bbc9c7b43b9cc259e132838286073 Mon Sep 17 00:00:00 2001 From: windychen0 <49142109+windychen0@users.noreply.github.com> Date: Sat, 6 Jun 2026 20:19:56 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=B0=9D=E8=AF=95=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=20actions/checkout=20=E7=9A=84=E6=97=A0=E6=95=88=E6=AD=A5?= =?UTF-8?q?=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 5e689b7..08bfba2 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,6 +10,13 @@ jobs: build: runs-on: docker # 匹配你 runner 的标签 steps: + - name: Checkout code + run: | + git init + git remote add origin http://gitea:8418/windychen/windyChenUtils.git + git fetch --depth 1 origin ${{ github.sha }} + git checkout ${{ github.sha }} + - name: Setup npm for Verdaccio run: | npm config set registry http://verdaccio:4873/