GitHub Actions Snippets
Reusable GitHub Actions templates that build, sign and release Windows and Linux installers.
- 01Build stage
- 02Signing stage
- 03Publish stage
- 04Cleanup stage
Architecture Overview
A library of GitHub Actions workflow templates for building, signing, packaging and cleaning up release artifacts on Windows and Linux runners. It is the scaffolding that gets a desktop project shipping proper releases on day one.
How it works
Core mechanics, failure recovery paths, and system design decisions.
Build stage
Runs on a Windows runner: NuGet restore, MSBuild, then building the installer.
Signing stage
Kept on a self-hosted runner so signing keys stay entirely under your own control. That split is the whole reason the pipeline is composite rather than a single job.
Publish stage
Pushes the signed output out as a GitHub release.
Cleanup stage
Clears the intermediate artifacts once the release is published, so storage stays lean build after build.
Engineering Highlights
- •Signing keys stay on infrastructure you own
- •Windows and Linux packaging in one set of templates
- •Artifact cleanup is part of the pipeline itself