diff --git a/.github/scripts/build-wheel.sh b/.github/scripts/build-wheel.sh index d3944a6fa..55cf81c20 100755 --- a/.github/scripts/build-wheel.sh +++ b/.github/scripts/build-wheel.sh @@ -21,7 +21,7 @@ require_cmd() { PYTHON3="${PYTHON3:-$(command -v python3 || true)}" [[ -x "${PYTHON3:-}" ]] || die "python3 not found" -for cmd in cmake ninja auditwheel uv sha256sum; do +for cmd in cmake ninja auditwheel uv; do require_cmd "$cmd" done @@ -104,11 +104,7 @@ assert not missing, f'missing or non-callable bindings: {missing}' print(f'ecc_py smoke test passed: {len(required)} bindings verified') " -# Checksums -(cd "$repair_out" && sha256sum *.whl) > dist/wheel/SHA256SUMS - echo "[build-wheel] done" echo "[build-wheel] raw wheels: $raw_out" echo "[build-wheel] repaired wheels: $repair_out" echo "[build-wheel] report: $show_report" -echo "[build-wheel] checksums: dist/wheel/SHA256SUMS" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b37bc00f..bdae8a92f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,10 +35,3 @@ jobs: path: dist/wheel/repaired/ecc_tools-*.whl retention-days: 7 if-no-files-found: error - - - name: Upload checksums - uses: actions/upload-artifact@v4 - with: - name: checksums - path: dist/wheel/SHA256SUMS - retention-days: 7 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9bed2669..5b367ef83 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,6 @@ jobs: name: ecc-tools-wheel path: | dist/wheel/repaired/ecc_tools-*.whl - dist/wheel/SHA256SUMS release: name: Create Release @@ -85,7 +84,10 @@ jobs: echo "## Checksums" echo "" echo '```' - cat dist/wheel/SHA256SUMS + ( + cd dist/wheel/repaired + sha256sum ecc_tools-*.whl + ) echo '```' } > release-notes.md cat release-notes.md @@ -97,5 +99,4 @@ jobs: gh release create "${{ steps.version.outputs.full_tag }}" \ --title "ecc-tools ${{ steps.version.outputs.full_tag }}" \ --notes-file release-notes.md \ - dist/wheel/repaired/ecc_tools-*.whl \ - dist/wheel/SHA256SUMS + dist/wheel/repaired/ecc_tools-*.whl