Interview Prep/GitHub Actions/Runners, ARC, Monorepos & Releases

Design a release workflow for a CLI tool that publishes binaries for Linux, macOS and Windows.

IntermediateScenarioRunners, ARC, Monorepos & Releases
Answer

Situation read → Cross-compile, checksum, sign, publish.

What I'd do →

  1. Trigger on tags v*.*.*.
  2. Matrix build (or GoReleaser in one job for Go), upload artifacts per platform.
  3. Fan-in job downloads with merge-multiple: true, generates checksums.txt, attests provenance, and runs gh release create "$GITHUB_REF_NAME" dist/* --generate-notes --verify-tag.
  4. Publish to Homebrew tap via App token.

Why → Fan-in keeps release creation atomic with all assets.

Interview tip → Mention checksums and provenance as part of "done".

All GitHub Actions questions Roadmap: GitHub Actions

More on Runners, ARC, Monorepos & Releases