Skip to content

Commit 232a0d6

Browse files
committed
fix(v8): verify musl artifacts with release checksums
Fetch the published per-target checksum asset alongside the musl archive and binding so Cargo musl jobs keep working without re-expanding the MODULE.bazel checksum manifest contract.
1 parent 00e4047 commit 232a0d6

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎.github/actions/setup-rusty-v8-musl/action.yml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,14 @@ runs:
3131
archive_path="${binding_dir}/librusty_v8_release_${TARGET}.a.gz"
3232
binding_path="${binding_dir}/src_binding_release_${TARGET}.rs"
3333
checksums_path="${binding_dir}/rusty_v8_release_${TARGET}.sha256"
34-
checksums_source="${GITHUB_WORKSPACE}/third_party/v8/rusty_v8_${version//./_}.sha256"
3534
3635
mkdir -p "${binding_dir}"
3736
curl -fsSL "${base_url}/librusty_v8_release_${TARGET}.a.gz" -o "${archive_path}"
3837
curl -fsSL "${base_url}/src_binding_release_${TARGET}.rs" -o "${binding_path}"
39-
grep -E " (librusty_v8_release_${TARGET}[.]a[.]gz|src_binding_release_${TARGET}[.]rs)$" \
40-
"${checksums_source}" > "${checksums_path}"
38+
curl -fsSL "${base_url}/rusty_v8_release_${TARGET}.sha256" -o "${checksums_path}"
4139
4240
if [[ "$(wc -l < "${checksums_path}")" -ne 2 ]]; then
43-
echo "Expected exactly two checksums for ${TARGET} in ${checksums_source}" >&2
41+
echo "Expected exactly two checksums for ${TARGET} in ${checksums_path}" >&2
4442
exit 1
4543
fi
4644

0 commit comments

Comments
 (0)