From d68d40f0e7122e350270f823605ecff1c9b64358 Mon Sep 17 00:00:00 2001 From: Alan Liddell Date: Wed, 3 May 2023 15:47:45 -0400 Subject: [PATCH] Try again to enable long paths in CI. --- .github/workflows/build.yml | 3 ++- .github/workflows/test_pr.yml | 3 ++- .github/workflows/test_typing.yml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 478bccd..5d568a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,8 @@ jobs: steps: - name: Enable long paths run: | - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force; + git config --global core.longpaths true shell: pwsh - uses: actions/checkout@v3 diff --git a/.github/workflows/test_pr.yml b/.github/workflows/test_pr.yml index 6541f17..9e8a72f 100644 --- a/.github/workflows/test_pr.yml +++ b/.github/workflows/test_pr.yml @@ -29,7 +29,8 @@ jobs: - name: Enable long paths run: | - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force; + git config --global core.longpaths true shell: pwsh - uses: actions/checkout@v3 diff --git a/.github/workflows/test_typing.yml b/.github/workflows/test_typing.yml index b9965e8..a4381c6 100644 --- a/.github/workflows/test_typing.yml +++ b/.github/workflows/test_typing.yml @@ -11,7 +11,8 @@ jobs: steps: - name: Enable long paths run: | - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force; + git config --global core.longpaths true shell: pwsh - uses: actions/checkout@v3