Artifact actions are pinned on v3 because v4 fails on this Gitea Actions instance #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Split out of #7 so the constraint is tracked rather than buried in a workflow
comment.
What was measured
.gitea/workflows/deploy.ymlpinsactions/upload-artifactandactions/download-artifacton the v3 line, not v4. #7's definition of doneasked for v4 (v3 is deprecated upstream). v4 was implemented, merged, and broke
the deploy on
main; the second attempt measured why by running the jobs on abranch.
Observed on branch
pin-deploy-refs-observable, commit2d328e7, via thecommit-status API:
The two jobs are identical except for a trailing
actions/upload-artifactv4step. Every v3 build tested passes on the same runner and image:
and both v3 pairs round-trip an artifact across job containers:
So this is not a musl problem, not an image problem, and not a node-runtime
problem. Artifacts v4 is a different wire protocol from v3, and this
Gitea/
act_runnerdeployment does not serve it. (Server is Gitea 1.25.4; therunner version is not readable from this account.)
Why this is a real item and not just a note
v3 of both actions is deprecated upstream and will stop receiving fixes. The
repo is pinned by SHA either way, so nothing is mutable, but it is pinned to
a line that upstream has abandoned.
Done when
Either:
upgrade),
deploy.ymlmoves to v4 pinned by SHA, and a branch run proves theupload and download both pass; or
workflow comment plus
REPO_POLICIES.mdsay so explicitly.Verifying this needs the same technique #7 used: a temporary branch trigger on
on.push.branchesplus theif: github.ref_name == 'main'guard on the deployjob, so the build job runs for real without touching Cloudflare.