Skip to content

Commit 22cdb58

Browse files
committed
Try enabling long paths for git in CI
1 parent 80209dd commit 22cdb58

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ jobs:
3333
if: matrix.os == 'windows-latest'
3434
run: "gci env:"
3535

36+
- name: Enable long paths for git
37+
if: matrix.os == 'windows-latest'
38+
run: git config --system core.longpaths true # allow long paths from git deps
39+
3640
- name: Rustfmt
3741
run: cargo fmt -- --check
3842
- name: Clippy

.github/workflows/upload-binaries.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989

9090
- name: Build
9191
run: |
92+
git config --system core.longpaths true # allow long paths from git deps
9293
rustup target add ${{ matrix.target }}
9394
$env:RUSTFLAGS="-C target-feature=+crt-static" # crt-static is set with RUSTFLAGS to statically link MSVCRT (VCRUNTIME140.dll)
9495
cargo build -p tmc-langs-cli --release --target ${{ matrix.target }}

0 commit comments

Comments
 (0)