Skip to content

Commit a7a5897

Browse files
authored
ci(windows): enable long paths (#2609)
1 parent edfc7d0 commit a7a5897

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/actions/setup-toolchain/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ inputs:
2121
runs:
2222
using: composite
2323
steps:
24+
- name: Enable long paths (Windows)
25+
if: ${{ runner.os == 'Windows' }}
26+
run: |
27+
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
28+
shell: powershell
2429
- name: Set up Ccache
2530
id: setup-ccache
2631
if: ${{ inputs.platform == 'ios' || inputs.platform == 'macos' || inputs.platform == 'visionos' }}

0 commit comments

Comments
 (0)