diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 755f323..c9a3650 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -29,6 +29,13 @@ jobs: lib_ext: dll steps: + - name: Enable long paths (Windows) + if: matrix.target.os == 'windows-latest' + shell: powershell + run: | + Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1 + git config --system core.longpaths true + - name: Check out sources uses: actions/checkout@v4 with: