Skip to content

Commit e1438fd

Browse files
authored
Update build-release.yml
1 parent 0c34a3f commit e1438fd

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,13 @@ jobs:
4343
runs-on: ${{ matrix.os }}
4444

4545
steps:
46-
# 1. Checkout — sparse on all platforms to exclude Docs/
47-
# (contains a pipe character in a filename, illegal on Windows NTFS)
46+
# 1. Windows git rejects pipe characters ( | ) in filenames before sparse
47+
# filtering even gets a chance to run. Disable that check globally first.
48+
- name: Allow pipe characters in paths (Windows only)
49+
if: matrix.platform == 'windows'
50+
run: git config --global core.protectNTFS false
51+
52+
# 2. Checkout — sparse on all platforms to exclude Docs/
4853
- name: Checkout
4954
uses: actions/checkout@v4
5055
with:

0 commit comments

Comments
 (0)