Skip to content

Commit

Permalink
Trigger wheel builds when modifying setup.py or pyproject.toml
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dbort committed Nov 21, 2024
1 parent 71612a6 commit a4b9b8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-wheels-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ name: Build Linux Wheels
on:
pull_request:
paths:
- build/packaging/**
- .github/workflows/build-wheels-linux.yml
- build/packaging/**
- pyproject.toml
- setup.py
push:
branches:
- nightly
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-wheels-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ name: Build M1 Wheels
on:
pull_request:
paths:
- build/packaging/**
- .github/workflows/build-wheels-m1.yml
- build/packaging/**
- pyproject.toml
- setup.py
push:
branches:
- nightly
Expand Down

0 comments on commit a4b9b8f

Please sign in to comment.