This commit is contained in:
@@ -53,7 +53,11 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Configure Git transport
|
||||
run: git config --global http.version HTTP/1.1
|
||||
run: |
|
||||
git config --global http.version HTTP/1.1
|
||||
# Runner 与 Gitea 同处内网。绕过公网 Nginx 的 Git pack 转发,避免
|
||||
# 大仓库检出时 TLS 流被中断;对外访问仍使用 ROOT_URL。
|
||||
git config --global url."http://192.168.1.112:3333/".insteadOf "https://gitea.waternetwork.cn/"
|
||||
- uses: https://gitea.waternetwork.cn/actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
Reference in New Issue
Block a user