Forgejo Runner builds for macOS and Windows (amd64)
Find a file
John Maguire 7c8b37265d Derive module path for version ldflags instead of hardcoding
The -X flag was pinned to the /v12/ module path; when upstream bumped to
/v13/ the linker silently dropped the flag and released binaries reported
"dev". go list -m tracks whatever major version the cloned tag uses.

Also resolve the Go toolchain from upstream's go.mod rather than a pinned
go-version, which only kept working via toolchain auto-download.
2026-09-01 00:23:03 -04:00
.forgejo/workflows Derive module path for version ldflags instead of hardcoding 2026-09-01 00:23:03 -04: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