Build Forgejo Runner for macOS (darwin/arm64)
Find a file
2026-03-06 02:04:00 +00:00
.forgejo/workflows Embed version via ldflags so runner reports correct version 2026-03-06 02:04:00 +00:00
README.md Add CI workflow to cross-compile Forgejo Runner for macOS arm64 2026-03-06 01:38:41 +00:00

Forgejo Runner Build

Builds Forgejo Runner for macOS (darwin/arm64) via cross-compilation.

How it works

  1. Push to main or trigger manually
  2. CI cross-compiles on Linux (GOOS=darwin GOARCH=arm64)
  3. Binary published as a Forgejo release

Usage

Download the latest release binary and place it wherever you need:

curl -L -o forgejo-runner https://forge.johnmaguire.me/jarvis/forgejo-runner-build/releases/latest/download/forgejo-runner-darwin-arm64
chmod +x forgejo-runner

Requirements

  • A Forgejo API token with release permissions stored as FORGEJO_RELEASE_TOKEN in repo secrets