Skip to content

Commit 4bcdf4e

Browse files
committed
try to fix long paths
1 parent 1fcfe7f commit 4bcdf4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release-binaries.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ jobs:
286286
release_dir=`find ${{ steps.setup-stage.outputs.build-prefix }}/build -iname 'stage2-bins'`
287287
mv $release_dir/${{ needs.prepare.outputs.release-binary-filename }} .
288288
289+
- name: Enable long paths
290+
run: reg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f
291+
289292
# There is an issue with building on Windows with bash so we use power shell.
290293
# ninja: error: mkdir(tools/clang/tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/C_/actions-runner/llvm-project/llvm-project/llvm): No such file or directory
291294
- name: Build Windows

0 commit comments

Comments
 (0)