forgejo has no stable URL for the artifacts of the latest run of a workflow: the run number changes on every push. this service resolves that, on code.cuddles.rs.
/owner/repo/workflows/workflow/branch |
artifacts of the latest successful run of workflow on branch |
/owner/repo/workflows/workflow/branch/artifact |
one named artifact; append .zip to download it directly |
/owner/repo/actions/runs/n |
artifacts of one specific run, by the number shown in the forgejo ui |
/owner/repo/actions/runs/n/artifact |
one named artifact of that run; .zip downloads it |
/owner/repo/actions/artifacts/id |
one artifact by its api id; .zip downloads it |
the workflow segment is the workflow file name; the
.yml extension may be omitted. add ?status=completed
to accept the latest finished run instead of the latest
successful one.
A download link that always points at the current build:
https://noon.code.cuddles.rs/myorg/myrepo/workflows/build/main/binaries.zip
/workflows/ form, since the path would be ambiguous. use the
/actions/runs/ form for those.source /\/\ inspired by nightly.link