Skip to content

Commit

Permalink
Attempt to solve long path issue for Windows github runners
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCzarnecki committed Oct 25, 2024
1 parent 1ce0761 commit 316e88e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ jobs:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]

steps:
- name: Check LongPathsEnabled
run: |
Get-ItemProperty "HKLM:System\CurrentControlSet\Control\FileSystem").LongPathsEnabled
- name: Support longpaths
run: git config --system core.longpaths true

- name: Check LongPathsEnabled
run: |
Get-ItemProperty "HKLM:System\CurrentControlSet\Control\FileSystem").LongPathsEnabled
- name: Checkout repository
uses: actions/checkout@v4

Expand Down

0 comments on commit 316e88e

Please sign in to comment.