Menu

#3 [Roadmap] GitHub Actions CI/CD - auto-build and release on tag push

open
nobody
enhancement (6)
2026-05-24
2026-05-24
Anonymous
No

Originally created by: phantasmat2018

Status: Planned.

Currently all builds are local: dotnet publish + makensis + manual GitHub Release upload via API. Moving to GitHub Actions would:

  • Build on every push to main (catch breaks early)
  • Auto-build + auto-release on pushing a v* tag
  • Run full test suite (dotnet test) before publishing
  • Upload installer artifact to the corresponding GitHub Release

Workflow sketch (.github/workflows/release.yml)

name: Release
on:
  push:
    tags: ['v*']
jobs:
  build:
    runs-on: windows-latest
    steps:

      - uses: actions/checkout@v4
      - uses: actions/setup-dotnet@v4
        with: { dotnet-version: '8.0.x' }
      - run: dotnet test
      - run: dotnet publish src/CapyBro -c Release -r win-x64 --self-contained -o publish/
      - uses: joncloud/makensis-action@v4
        with: { script-file: installer/installer.nsi }
      - uses: softprops/action-gh-release@v2
        with:
          files: installer/CapyBro-Setup-*.exe

Acceptance

  • [ ] .github/workflows/release.yml lands on main
  • [ ] Push tag v2.0.1 (or any) triggers build + release
  • [ ] Installer artifact attached to release automatically
  • [ ] (Optional later) Signing via secret-stored certificate

Discussion


Log in to post a comment.

Auth0 Logo