Skip to content

Commit ee46d05

Browse files
committed
tools: run build-windows workflow only on source changes
1 parent 64c6d97 commit ee46d05

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.github/workflows/build-windows.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,29 @@ name: Build Windows
22

33
on:
44
pull_request:
5-
paths-ignore:
6-
- README.md
7-
- .github/**
8-
- '!.github/workflows/build-windows.yml'
5+
paths:
6+
- lib/**/*.js
7+
- Makefile
8+
- src/**/*.cc
9+
- src/**/*.h
10+
- tools/gyp/**
11+
- tools/test.py
12+
- .github/workflows/build-windows.yml
913
types: [opened, synchronize, reopened, ready_for_review]
1014
push:
1115
branches:
1216
- main
1317
- canary
1418
- v[0-9]+.x-staging
1519
- v[0-9]+.x
16-
paths-ignore:
17-
- README.md
18-
- .github/**
19-
- '!.github/workflows/build-windows.yml'
20+
paths:
21+
- lib/**/*.js
22+
- Makefile
23+
- src/**/*.cc
24+
- src/**/*.h
25+
- tools/gyp/**
26+
- tools/test.py
27+
- .github/workflows/build-windows.yml
2028

2129
concurrency:
2230
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

0 commit comments

Comments
 (0)