2 Commits
Author SHA1 Message Date
Dax 180be36beb Release: fix the AUR job's ownership and hidden .SRCINFO (#288)
* Release: build hex-bin in builder's home instead of chowning the runner's files

The AUR job chowned RUNNER_TEMP to builder, taking the runner's own files
(step summary, event.json) with it, so the summary, upload and post-checkout
would fail with permission denied on the first stable release. builder now
stages and runs makepkg on copies in /home/builder; the workspace and
RUNNER_TEMP keep their owner.

* Release: upload hidden files so build-aur keeps its .SRCINFO
2026-10-28 11:33:35 -04:00
Dax Raad c5338422a0 ci(release): split building from signing and publishing, like OpenCode
Build jobs (Linux, Windows x64/ARM64, macOS, Windows installers, AUR and Homebrew staging) run repository code with no environment, secret, or id-token and produce unsigned files. Sign and publish jobs run in the release environment, check out only .github/release/, and run only those scripts and SHA-pinned actions on artifacts treated as data: macOS Developer ID signing, notarization, and stapling (from APPLE_SIGNING_CERTIFICATE, APPLE_NOTARY_KEY, and the APPLE_NOTARY_KEY_ID/ISSUER_ID variables), Azure Authenticode, the release service, the GitHub release, and the AUR and Homebrew pushes. Every artifact carries a SHA256SUMS whose digest its job reports; every job that downloads it checks that digest. Signed macOS builds are verified and launched in a job without secrets. macos-signed.yml is gone (a check run covers it); the site deploy is no longer part of Release.
2026-10-27 17:02:44 -04:00