chore: configure Git for long paths and safe directories in gRPC setup
- Added Git configuration to handle long paths and ensure safe directory access when cloning gRPC dependencies. - This change aims to improve compatibility and reliability during the build process, particularly for environments with long file paths.
This commit is contained in:
3
.github/actions/setup-build/action.yml
vendored
3
.github/actions/setup-build/action.yml
vendored
@@ -53,6 +53,9 @@ runs:
|
||||
refreshenv
|
||||
}
|
||||
}
|
||||
# Ensure Git can handle long paths and cached directories when cloning gRPC dependencies
|
||||
git config --global core.longpaths true
|
||||
git config --global --add safe.directory '*'
|
||||
|
||||
- name: Setup sccache
|
||||
uses: hendrikmuhs/ccache-action@v1.2
|
||||
|
||||
Reference in New Issue
Block a user