From c665604cb53aa0d822d9d0d2c8bf4ee225af7a00 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Tue, 25 Nov 2025 15:03:48 +0100 Subject: [PATCH] ci(windows): enable long paths --- .github/actions/setup-toolchain/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/setup-toolchain/action.yml b/.github/actions/setup-toolchain/action.yml index a505ba45e..eb8d1be62 100644 --- a/.github/actions/setup-toolchain/action.yml +++ b/.github/actions/setup-toolchain/action.yml @@ -21,6 +21,11 @@ inputs: runs: using: composite steps: + - name: Enable long paths (Windows) + if: ${{ runner.os == 'Windows' }} + run: | + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force + shell: powershell - name: Set up Ccache id: setup-ccache if: ${{ inputs.platform == 'ios' || inputs.platform == 'macos' || inputs.platform == 'visionos' }}