fix windows release builds part 2
@@ -192,6 +192,13 @@ jobs:
# toolchain: stable
# cross: true
steps:
+ - name: Allow long paths on Windows
+ if: ${{ matrix.os == 'windows-latest' }}
+ shell: powershell
+ run: |
+ reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f
+ git config --system core.longpaths true
+
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
