ci(docker): 移除修复Git Extra Header的冗余步骤
Some checks failed
Build Windows / ACT Windows Checkout Verification (push) Failing after 7h0m13s
Build Windows / 编译 libcore (Windows) (20.15.1) (push) Failing after 17s
Build Windows / build (push) Has been skipped

This commit is contained in:
shanshanzhong 2025-11-07 04:51:43 -08:00
parent 577327c40a
commit 62d3157665

View File

@ -236,20 +236,6 @@ jobs:
assets/translations
sparse-checkout-cone: true
- name: 🔧 Fix Git Extra Header (ACT)
shell: powershell
run: |
# 移除可能的 extraheader 配置,包括带 %0A 的变体
git config --global --unset-all http.https://git.kxsw.us/.extraheader
git config --global --unset-all http."https://git.kxsw.us/".extraheader
git config --global --unset-all http.https://git.kxsw.us/.extraheader%0A
git config --global --unset-all http."https://git.kxsw.us/".extraheader%0A
# 对于 submodule
git submodule foreach --recursive "git config --local --unset-all http.https://git.kxsw.us/.extraheader || true"
git submodule foreach --recursive "git config --local --unset-all http.https://git.kxsw.us/.extraheader%0A || true"
# 验证
git config --global --get-regexp http.*.extraheader || echo "No extraheader found"
- name: 🔍 Verify jq Installation (ACT)
shell: powershell
run: |