mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-07 07:02:53 +03:00
getdeps: fix git configuration on windows
Summary: The GH actions defaults for git prevent it from being able to checkout the fbthrift repo due the length of the java related files in the fbthrift repo. This commit tells git to use long filenames and allows the checkout to succeed. Reviewed By: fanzeyi Differential Revision: D20659750 fbshipit-source-id: 060b36d312d52a0769cf2f2dd9af60f7446f94a8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d46c088003
commit
e4988dce82
@@ -629,6 +629,12 @@ jobs:
|
||||
out.write(" steps:\n")
|
||||
out.write(" - uses: actions/checkout@v1\n")
|
||||
|
||||
if build_opts.is_windows():
|
||||
# The git installation may not like long filenames, so tell it
|
||||
# that we want it to use them!
|
||||
out.write(" - name: Fix Git config\n")
|
||||
out.write(" run: git config --system core.longpaths true\n")
|
||||
|
||||
projects = loader.manifests_in_dependency_order()
|
||||
|
||||
for m in projects:
|
||||
|
Reference in New Issue
Block a user