This commit is contained in:
parent
3e82825bd0
commit
d414c2510b
|
|
@ -18,18 +18,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# ✅ 新增:配置 Git 以解决 HTTP/2 问题
|
|
||||||
- name: Configure Git for stable cloning
|
|
||||||
run: |
|
|
||||||
git config --global http.version HTTP/1.1
|
|
||||||
git config --global http.postBuffer 524288000
|
|
||||||
git config --global http.lowSpeedLimit 0
|
|
||||||
git config --global http.lowSpeedTime 999999
|
|
||||||
git config --global core.compression 0
|
|
||||||
echo "✅ Git 配置已优化"
|
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: https://gitea.bot.leisuretimedock.top/actions/checkout@v4
|
uses: https://gitee.com/actions-mirror/checkout@v4
|
||||||
|
|
||||||
- name: Set executable permissions
|
- name: Set executable permissions
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user