Interview Prep/GitHub Actions/Speed, Caching & Cost

Artifact storage costs are climbing. What do you change?

BeginnerScenarioSpeed, Caching & Cost
Answer

Situation read → 90-day default retention on large build outputs.

What I'd do →

  1. Set retention-days: 3 on intermediate artifacts, keep reports for 14.
  2. Lower the repo or org default retention.
  3. Move release binaries to GitHub Releases or a registry.
  4. Delete old artifacts via API in bulk if needed.

Why → Most artifacts are only useful for the next job or the next day.

Interview tip → Distinguish artifacts (run outputs) from releases (deliverables).

All GitHub Actions questions Roadmap: GitHub Actions

More on Speed, Caching & Cost