ci(docker): 移除修复Git Extra Header的冗余步骤
This commit is contained in:
parent
577327c40a
commit
62d3157665
@ -236,20 +236,6 @@ jobs:
|
|||||||
assets/translations
|
assets/translations
|
||||||
sparse-checkout-cone: true
|
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)
|
- name: 🔍 Verify jq Installation (ACT)
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user