Skip to content

Commit 1ef8d0e

Browse files
committed
Fix CI for Windows
Signed-off-by: SuperJappie08 <36795178+SuperJappie08@users.noreply.github.com>
1 parent 8a447b1 commit 1ef8d0e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ on:
1111
- test/**
1212
- bindings/**
1313
- binding.gyp
14+
- .github/workflows/ci.yml
1415
pull_request:
1516
paths:
1617
- grammar.js
1718
- src/**
1819
- test/**
1920
- bindings/**
2021
- binding.gyp
22+
- .github/workflows/ci.yml
2123

2224
concurrency:
2325
group: ${{github.workflow}}-${{github.ref}}
@@ -47,8 +49,12 @@ jobs:
4749
uses: threeal/pipx-install-action@v1
4850
with:
4951
packages: vcs2l
50-
- name: Set up examples
52+
- name: Set up examples (Linux & MacOS)
53+
if: runner.os != 'Windows'
5154
run: vcs import --shallow < examples.repos
55+
- name: Set up examples (Windows)
56+
if: runner.os == 'Windows'
57+
run: cmd.exe /c "vcs import --shallow < ./examples.repos"
5258
- name: Parse examples
5359
uses: tree-sitter/parse-action@v4
5460
with:

0 commit comments

Comments
 (0)