@@ -448,12 +448,18 @@ jobs:
448448 exists : ${{ steps.check.outputs.exists }}
449449 steps :
450450 - id : check
451+ # `registry: github-release` (not `registry: zig`) — alef check-registry's
452+ # zig path only verifies the release tag exists. On a real release that's
453+ # always true, so it short-circuits `publish-zig` to skipped (regression:
454+ # v3.5.1 shipped without the zig tarball asset because of this). Verify
455+ # the actual asset is present instead.
451456 uses : kreuzberg-dev/actions/check-registry@v1
452457 with :
453- registry : zig
454- package : html-to-markdown
458+ registry : github-release
459+ package : html-to-markdown-rs-zig-v${{ needs.prepare.outputs.version }}.tar.gz
455460 version : ${{ needs.prepare.outputs.version }}
456461 repo : ${{ github.repository }}
462+ assets : html-to-markdown-rs-zig-v${{ needs.prepare.outputs.version }}.tar.gz
457463
458464 # ─── Build matrix jobs ────────────────────────────────────────────────
459465
@@ -2096,6 +2102,13 @@ jobs:
20962102 with :
20972103 working-directory : packages/zig
20982104 tag : ${{ needs.prepare.outputs.tag }}
2105+ # Override the auto-detected package-name (`html_to_markdown_rs` from
2106+ # build.zig.zon) to match the alef-emitted test_app URL pattern
2107+ # `{crate-name}-zig-v{version}.tar.gz`. Without this, the asset
2108+ # uploads as `html_to_markdown_rs-v{version}.tar.gz` while
2109+ # test_apps/zig fetches `html-to-markdown-rs-zig-v{version}.tar.gz`
2110+ # → 404 + consumer build.zig.zon TODO hash.
2111+ package-name : html-to-markdown-rs-zig
20992112 update-release-notes : " true"
21002113 dry-run : ${{ needs.prepare.outputs.dry_run }}
21012114 env :
0 commit comments