The release checksum job cannot download the draft release files #134

Closed
opened 2026-10-25 06:21:05 -05:00 by ethan-hann · 0 comments
Owner

In the v0.9.9 release run, both package jobs uploaded their files to the draft, but the checksums job failed: "Downloading assets.linux.json answered 404" (build/release-assets.ps1, Checksums). The same script run by hand with a personal token downloaded every file and finished, so the files are there; the job uses the workflow token (no RELEASE_TOKEN secret is set), which can upload to a draft but apparently not read its files. Either add a RELEASE_TOKEN secret with read and write access to releases (a person has to add it), or change the Checksums step so it does not download drafts (for example, have each package job upload a SHA256 list of its own files, and let the checksums job merge the lists and check sizes against the release). Then run a release end to end once more.

In the v0.9.9 release run, both package jobs uploaded their files to the draft, but the checksums job failed: "Downloading assets.linux.json answered 404" (build/release-assets.ps1, Checksums). The same script run by hand with a personal token downloaded every file and finished, so the files are there; the job uses the workflow token (no RELEASE_TOKEN secret is set), which can upload to a draft but apparently not read its files. Either add a RELEASE_TOKEN secret with read and write access to releases (a person has to add it), or change the Checksums step so it does not download drafts (for example, have each package job upload a SHA256 list of its own files, and let the checksums job merge the lists and check sizes against the release). Then run a release end to end once more.
ethan-hann added this to the 1.0 milestone 2026-10-25 06:21:05 -05:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ethan-hann/SavePoint#134
No description provided.