mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-02 23:45:08 -04:00
The four package workflows upload every built .deb/.rpm as a run artifact and then rsync the same files to ZMREPO in the next step. The only consumer of the artifacts is the `release` job, which is gated on startsWith(github.ref, 'refs/tags/'). On branch pushes to master and release-1.38 nothing ever reads them, so each push was parking ~1.3 GB of artifacts against the org Actions storage quota for their full one-day retention. Three pushes in a day held ~3.9 GB at once. Gate each upload step on the same tag condition the `release` job uses, so the artifacts exist exactly when something consumes them. Branch pushes still publish to ZMREPO unchanged; tag builds are unaffected. This also skips the artifact upload itself on branch pushes, which saves transfer time on the self-hosted aarch64 runners. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0179XFS73S5t4PM4L8zomZHX