Skip to content

Commit a4b9b8f

Browse files
committed
Trigger wheel builds when modifying setup.py or pyproject.toml
These two files are the core of the wheel configs, so it makes sense to try building wheels when they change. Sort the path entries now that the list is getting longer.
1 parent 71612a6 commit a4b9b8f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/build-wheels-linux.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ name: Build Linux Wheels
44
on:
55
pull_request:
66
paths:
7-
- build/packaging/**
87
- .github/workflows/build-wheels-linux.yml
8+
- build/packaging/**
9+
- pyproject.toml
10+
- setup.py
911
push:
1012
branches:
1113
- nightly

.github/workflows/build-wheels-m1.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ name: Build M1 Wheels
44
on:
55
pull_request:
66
paths:
7-
- build/packaging/**
87
- .github/workflows/build-wheels-m1.yml
8+
- build/packaging/**
9+
- pyproject.toml
10+
- setup.py
911
push:
1012
branches:
1113
- nightly

0 commit comments

Comments
 (0)