From 392a8bc7ef060c5d577805869cdfecab204b41e5 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Sun, 17 Oct 2021 15:52:07 +0300 Subject: [PATCH] Update action.yml --- action.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/action.yml b/action.yml index 9b89f82..4f72951 100644 --- a/action.yml +++ b/action.yml @@ -71,3 +71,10 @@ runs: run: >- nuget install docfx.console -Version ${{inputs.docfx-version}} -ExcludeVersion; shell: pwsh + + - name: Global Long Path Support + run: >- + New-Item -Path 'HKLM:\SOFTWARE\Microsoft\.NETFramework\AppContext' + New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NETFramework\AppContext' -Name 'Switch.System.IO.UseLegacyPathHandling' -Value 'false' + New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NETFramework\AppContext' -Name 'Switch.System.IO.BlockLongPaths' -Value 'false' + shell: pwsh