Skip to content

Commit 24d3401

Browse files
committed
try with LongPathsEnabled
1 parent b22cd34 commit 24d3401

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test-prime.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ jobs:
6060
shell: bash # for --
6161

6262
steps:
63+
- name: Enable Long Path Support
64+
run: |
65+
# Enable long path support via registry
66+
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
67+
# Also enable for current process
68+
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1
69+
shell: powershell
70+
6371
- name: 'Show environment'
6472
run: |
6573
uname -a

0 commit comments

Comments
 (0)