Skip to content

Commit

Permalink
Try to enable long paths in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
aliddell committed May 3, 2023
1 parent 1d79e24 commit 34647a7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:

runs-on: ${{matrix.platform}}
steps:
- name: Enable long paths
run: |
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
shell: pwsh

- uses: actions/checkout@v3
with:
submodules: recursive
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
with:
access_token: ${{ github.token }}

- name: Enable long paths
run: |
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
shell: pwsh

- uses: actions/checkout@v3
with:
submodules: recursive
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test_typing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ jobs:
typing:
runs-on: windows-latest
steps:
- name: Enable long paths
run: |
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
shell: pwsh

- uses: actions/checkout@v3
with:
submodules: recursive
Expand Down

0 comments on commit 34647a7

Please sign in to comment.