Skip to content

PackageCi: Enable core.longpaths on Windows runners - #566

Merged
Doug Flick (Flickdm) merged 1 commit into
microsoft:mainfrom
Flickdm:fix/windows-longpaths
May 1, 2026
Merged

Doug Flick (Flickdm) merged 1 commit into
microsoft:mainfrom
Flickdm:fix/windows-longpaths

Conversation

@Flickdm

@Flickdm Doug Flick (Flickdm) commented May 1, 2026 •

Copy link
Copy Markdown
Member

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.

Without this MU_CRYPTO_RELEASE is failing

https://github.com/microsoft/mu_crypto_release/actions/runs/25198194771/job/73883433904?pr=218

Cloning into 'D:/a/mu_crypto_release/mu_crypto_release/MU_BASECORE/SecurityPkg/DeviceSecurity/SpdmLib/libspdm/os_stub/openssllib/openssl/gost-engine/libprov'...
error: unable to create file 
....

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 <[email protected]>
@Flickdm
Doug Flick (Flickdm) marked this pull request as ready for review May 1, 2026 02:17
@apop5
Aaron (apop5) requested a review from kuqin12 May 1, 2026 02:32
@Flickdm
Doug Flick (Flickdm) merged commit 0f20788 into microsoft:main May 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants