Skip to content

Commit 0f20788

Browse files
committed
PackageCi: Enable core.longpaths on Windows runners
Add git config --system core.longpaths true after checkout on Windows runners to prevent failures when submodule trees contain filenames exceeding the 260-character Windows path limit. Signed-off-by: Doug Flick <dougflick@microsoft.com>
1 parent 9f06f93 commit 0f20788

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/PackageCi.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ jobs:
8686
- name: Checkout repository
8787
uses: actions/checkout@v6
8888

89+
- name: Enable Git Long Paths (Windows)
90+
if: runner.os == 'Windows'
91+
run: git config --system core.longpaths true
92+
8993
- name: Setup Python ${{ inputs.python-version }}
9094
if: ${{ inputs.container == null }}
9195
uses: actions/setup-python@v6

0 commit comments

Comments
 (0)