From fc2fd50bac956a84c0dde845ce642527fe2f44e6 Mon Sep 17 00:00:00 2001 From: Jeffrey Hsu Date: Wed, 4 Feb 2026 23:52:24 +0800 Subject: [PATCH] Update test.yaml to specify server URL and repository for Git operations --- .gitea/workflows/test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 4c9dcb4..a9fe2ec 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -16,7 +16,9 @@ jobs: with: # 对于镜像仓库,建议显式指定 fetch-depth 确保获取完整历史(如果需要) fetch-depth: 1 - repository: https://cantyonion.site/git/${{ github.repository }} + server-url: https://cantyonion.site/git + repository: cantyonion/leetcode + token: ${{ secrets.GIT_TOKEN }} - name: Configure CMake # -B build 创建构建目录,-S . 指定源代码在当前目录