Skip to content

Commit

Permalink
Configure long paths on Windows in CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
egorodet committed Jan 1, 2025
1 parent 08dbb74 commit 9ebdc2d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Configure long paths on Windows
if: ${{ runner.os == 'Windows' }}
shell: pwsh
run: |
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
git config --system core.longpaths true
- name: Install Linux prerequisites
if: ${{ runner.os == 'Linux' }}
run: ./Build/Unix/CI/InstallLinuxPrerequisites.sh
Expand Down

0 comments on commit 9ebdc2d

Please sign in to comment.