fix: rename CUDA wheels with tag suffix to avoid upload clash

- all three release builds (pure, cu128, cu130) produce the same .whl filename, causing uploads to overwrite each other
- append the CUDA tag as a local version label (e.g. +cu128, +cu130)
This commit is contained in:
2026-08-08 00:49:17 +08:00
parent 49aaa9a714
commit c52a2487ae
+3
View File
@@ -54,6 +54,9 @@ jobs:
- name: Build wheel (with CUDA kernels) - name: Build wheel (with CUDA kernels)
run: | run: |
CSRC_KERNELS=true pip wheel . --no-deps --no-build-isolation -w dist/ CSRC_KERNELS=true pip wheel . --no-deps --no-build-isolation -w dist/
for f in dist/*.whl; do
mv "$f" "dist/$(basename "$f" .whl)+${{ matrix.cuda_tag }}.whl"
done
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with: