File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -317,6 +317,10 @@ jobs:
317
317
!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'
318
318
runs-on : windows-latest
319
319
steps :
320
+ # By default, the longest path a filename can have in git on Windows is 260 character.
321
+ - name : Set git config for long paths
322
+ run : |
323
+ git config --system core.longpaths true
320
324
- name : Checkout repository
321
325
uses : actions/checkout@v4
322
326
- name : Checkout submodules
Original file line number Diff line number Diff line change 40
40
# You should think twice before increasing this limit.
41
41
MAX_BINARY_SIZE : 2621440
42
42
steps :
43
+ # By default, the longest path a filename can have in git on Windows is 260 character.
44
+ - name : Set git config for long paths
45
+ run : |
46
+ git config --system core.longpaths true
47
+
43
48
- name : Checkout repository
44
49
uses : actions/checkout@v4
45
50
Original file line number Diff line number Diff line change 18
18
19
19
runs-on : ${{ matrix.os }}
20
20
steps :
21
+ # By default, the longest path a filename can have in git on Windows is 260 character.
22
+ - name : Set git config for long paths
23
+ if : runner.os == 'Windows'
24
+ run : |
25
+ git config --system core.longpaths true
26
+
21
27
- name : Checkout repository
22
28
uses : actions/checkout@v4
23
29
You can’t perform that action at this time.
0 commit comments