mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
9fba52d0fa
- Add build-macos-launcher job (runs on macOS, parallel with GoReleaser) that builds the CGO-enabled launcher with systray support, signs and notarizes it via rcodesign, then uploads as artifact. - Add patch-macos-archives job (runs on cheap Linux runner, needs both GoReleaser and build-macos-launcher) that downloads the launcher artifact and darwin release archives, replaces the launcher binary, and re-uploads the patched archives. - Fix Docker image tag errors: GITHUB_REPOSITORY_OWNER is immutable in GitHub Actions. Introduce REPO_OWNER (lowercase) in workflows and reference it in .goreleaser.yaml for GHCR image names and nfpms homepage. - Make Docker Hub login conditional on DOCKERHUB_USERNAME secret being set, so forks without Docker Hub credentials don't fail. - Make Docker Hub image in goreleaser conditional on DOCKERHUB_IMAGE_NAME being non-empty (empty image names are ignored by GoReleaser). Verified on fork: both nightly and release workflows pass all jobs. Nightly: https://github.com/BeaconCat/picoclaw/actions/runs/24848808843 Release: https://github.com/BeaconCat/picoclaw/actions/runs/24849753787 Co-authored-by: BeaconCat <BeaconCat@users.noreply.github.com>