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 . 指定源代码在当前目录