From 66db86ea2b5310d147013306492694a77da5c717 Mon Sep 17 00:00:00 2001 From: Dave Bort Date: Thu, 21 Nov 2024 11:30:37 -0800 Subject: [PATCH] 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. --- .github/workflows/build-wheels-linux.yml | 4 +++- .github/workflows/build-wheels-m1.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-wheels-linux.yml b/.github/workflows/build-wheels-linux.yml index a4132f6554..7113b66f32 100644 --- a/.github/workflows/build-wheels-linux.yml +++ b/.github/workflows/build-wheels-linux.yml @@ -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 diff --git a/.github/workflows/build-wheels-m1.yml b/.github/workflows/build-wheels-m1.yml index 1dad6ad5ea..402d91dfad 100644 --- a/.github/workflows/build-wheels-m1.yml +++ b/.github/workflows/build-wheels-m1.yml @@ -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