Skip to content

Commit 0e0e46f

Browse files
committed
fixed "path too long" error on "windows-latest" ci workflow windows target
1 parent 8ee41b0 commit 0e0e46f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
os: macos-latest
3333
build-name: isograph_cli
3434
artifact-name: isograph_cli-macos-arm64
35-
# - target: x86_64-pc-windows-msvc
36-
# os: windows-latest
37-
# build-name: isograph_cli.exe
38-
# artifact-name: isograph_cli-bin-win-x64
35+
- target: x86_64-pc-windows-msvc
36+
os: windows-latest
37+
build-name: isograph_cli.exe
38+
artifact-name: isograph_cli-bin-win-x64
3939
runs-on: ${{ matrix.target.os }}
4040
steps:
4141
- uses: actions/checkout@v2
@@ -44,6 +44,10 @@ jobs:
4444
toolchain: 1.75.0
4545
override: true
4646
target: ${{ matrix.target.target }}
47+
# more info here:- https://github.com/rust-lang/cargo/issues/13020
48+
- name: Enable longpaths on windows
49+
if: matrix.target.os == 'windows-latest'
50+
run: git config --system core.longpaths true
4751
- name: Install cross
4852
if: matrix.target.cross
4953
uses: actions-rs/cargo@v1

0 commit comments

Comments
 (0)