Skip to content

Commit 79ea25a

Browse files
committed
try to fix long path error on windows runner
1 parent 9de2fd3 commit 79ea25a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ jobs:
5757
- name: Checkout code
5858
uses: actions/checkout@v4
5959

60+
- name: Enable long paths on Windows
61+
if: runner.os == 'Windows'
62+
run: |
63+
git config --system core.longpaths true
64+
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f
65+
shell: pwsh
66+
6067
- name: Install Rust toolchain
6168
uses: dtolnay/rust-toolchain@stable
6269
with:

0 commit comments

Comments
 (0)