ci/release: fix long paths on Windows
@@ -102,6 +102,13 @@ jobs:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
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
+
- name: Cache cargo registry index
uses: actions/cache@v2
with:
