This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch fix-pypi-crates-publish
in repository https://gitbox.apache.org/repos/asf/sedona-spatialbench.git
The following commit(s) were added to refs/heads/fix-pypi-crates-publish by
this push:
new 8a70a71 Trigger python build per commit
8a70a71 is described below
commit 8a70a718c554f265160e5f260d3c06bfdb1936dd
Author: Jia Yu <[email protected]>
AuthorDate: Fri Dec 19 17:01:47 2025 -0800
Trigger python build per commit
---
.github/workflows/build-py-packages.yml | 24 ++++++++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build-py-packages.yml
b/.github/workflows/build-py-packages.yml
index ec4774b..e93c189 100644
--- a/.github/workflows/build-py-packages.yml
+++ b/.github/workflows/build-py-packages.yml
@@ -8,6 +8,26 @@ on:
required: false
default: false
type: boolean
+ push:
+ branches: ["main"]
+ paths:
+ - 'spatialbench-cli/**'
+ - '.github/workflows/build-py-packages.yml'
+ pull_request:
+ paths:
+ - 'spatialbench-cli/**'
+ - '.github/workflows/build-py-packages.yml'
+ workflow_dispatch:
+ inputs:
+ upload-artifacts:
+ description: "Whether to upload built distributions as artifacts"
+ required: false
+ default: false
+ type: boolean
+
+concurrency:
+ group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}
+ cancel-in-progress: true
jobs:
wheels:
@@ -91,7 +111,7 @@ jobs:
working-directory: spatialbench-cli
manylinux: ${{ matrix.manylinux || '' }}
- name: Upload wheels
- if: ${{ inputs.upload-artifacts }}
+ if: ${{ inputs.upload-artifacts || github.event_name == 'push' ||
github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
}}
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-${{ matrix.target }}
@@ -108,7 +128,7 @@ jobs:
args: --out dist
working-directory: spatialbench-cli
- name: Upload sdist
- if: ${{ inputs.upload-artifacts }}
+ if: ${{ inputs.upload-artifacts || github.event_name == 'push' ||
github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
}}
uses: actions/upload-artifact@v4
with:
name: wheels-sdist