Skip to content

Commit 61d6ff9

Browse files
authored
Support git longpaths (#967)
1 parent f8e38b1 commit 61d6ff9

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.github/workflows/android.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
git config --global credential.helper 'store --file /tmp/git-credentials'
6363
echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
6464
65+
- name: Enable Git Long-paths Support
66+
if: runner.os == 'Windows'
67+
run: git config --system core.longpaths true
68+
6569
- name: Check expanded matrix config
6670
if: github.event.inputs.expanded_matrix == '1'
6771
run: |

.github/workflows/desktop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ jobs:
101101
git config --global credential.helper 'store --file /tmp/git-credentials'
102102
echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
103103
104+
- name: Enable Git Long-paths Support
105+
if: runner.os == 'Windows'
106+
run: git config --system core.longpaths true
107+
104108
- name: Setup Xcode version (macos)
105109
if: runner.os == 'macOS'
106110
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode_version }}.app/Contents/Developer

.github/workflows/integration_tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,9 @@ jobs:
277277
run: |
278278
git config --global credential.helper 'store --file /tmp/git-credentials'
279279
echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
280+
- name: Enable Git Long-paths Support
281+
if: runner.os == 'Windows'
282+
run: git config --system core.longpaths true
280283
- name: Set env vars (Linux)
281284
if: startsWith(matrix.os, 'ubuntu')
282285
run: echo "VCPKG_TRIPLET=x64-linux" >> $GITHUB_ENV
@@ -471,6 +474,9 @@ jobs:
471474
run: |
472475
git config --global credential.helper 'store --file /tmp/git-credentials'
473476
echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
477+
- name: Enable Git Long-paths Support
478+
if: runner.os == 'Windows'
479+
run: git config --system core.longpaths true
474480
- name: Add msbuild to PATH (Windows)
475481
if: startsWith(matrix.os, 'windows')
476482
uses: microsoft/[email protected]

0 commit comments

Comments
 (0)