Update test.yaml to specify server URL and repository for Git operations
Some checks failed
Gitea CTest Workflow / test (push) Failing after 4s
Some checks failed
Gitea CTest Workflow / test (push) Failing after 4s
This commit is contained in:
@@ -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 . 指定源代码在当前目录
|
||||
|
||||
Reference in New Issue
Block a user