Skip to content

Commit 116e124

Browse files
Emin017claude
andauthored
fix(ci): optimize ci build triggers, strip dir prefix in SHA256SUMS (#13)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f407f96 commit 116e124

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/scripts/build-wheel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ print(f'ecc_py smoke test passed: {len(required)} bindings verified')
105105
"
106106

107107
# Checksums
108-
sha256sum "$repair_out"/*.whl > dist/wheel/SHA256SUMS
108+
(cd "$repair_out" && sha256sum *.whl) > dist/wheel/SHA256SUMS
109109

110110
echo "[build-wheel] done"
111111
echo "[build-wheel] raw wheels: $raw_out"

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ name: CI
22

33
on:
44
pull_request:
5+
paths:
6+
- 'src/**'
7+
- 'cmake/**'
8+
- 'CMakeLists.txt'
9+
- 'pyproject.toml'
10+
- 'build.sh'
11+
- '.github/**'
512
push:
613
branches: [main]
714

0 commit comments

Comments
 (0)