Repository navigation
ci: unsigned nightly builds pipeline - #3
Merged
Merged
Conversation
Scheduled (07:00 UTC) + workflow_dispatch matrix build across mac/win/ linux × x64/arm64, packaged WITHOUT Apple/Windows certificates: the package step omits all CSC_*/WIN_CSC_* vars and sets CSC_IDENTITY_AUTO_DISCOVERY=false, so macOS ad-hoc-signs (no notarize) and Windows/Linux ship unsigned. Installers are published to a rolling 'nightly' GitHub prerelease. Each job pins electron-builder to its own arch via <target>:<arch> — the shared build config declares arch:["x64","arm64"] per target, so an unpinned package run would also build the other (broken, native-less) arch and the same-named files would collide on merge. Wire real certs in by mirroring release.yml's CSC env block once they exist. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a scheduled nightly builds pipeline (
.github/workflows/nightly.yml) — no Apple/Windows certificates yet.What it does
schedule0 7 * * *UTC +workflow_dispatch.concurrency: nightly(newer run supersedes).ci.yml/release.yml).CSC_*/WIN_CSC_*var and setsCSC_IDENTITY_AUTO_DISCOVERY=false→ macOS ad-hoc-signs (no notarize; build config already hashardenedRuntime:false/gatekeeperAssess:false), Windows/Linux ship unsigned.nightlyGitHub prerelease (delete+recreate so stale platform files don't linger).Arch pinning (the non-obvious bit)
Each job pins
electron-builderto its own arch via<target>:<arch>. The shared build config declaresarch:["x64","arm64"]per target, so a barepackage:*builds both arches on every runner — and the cross-arch half is broken (its native isn't built on that host). CLI--x64/--arm64flags are ignored when the config sets per-target arch; only thetarget:archform overrides it. Pinning keeps published binaries correct and collision-free on merge.Wiring real certs later
Mirror
release.yml'sCSC_*/WIN_CSC_*env block into the package step and dropCSC_IDENTITY_AUTO_DISCOVERY(noted in the file header).Testing
actionlintclean (only the pre-existingmacos-13"unknown label" note thatci.yml/release.ymlalso emit).electron-builder --maclocally (arm64): ad-hoc signature, notarization skipped, valid.dmg/.zip, exit 0.target:archproduces single-arch output and the collect glob stages only installers (no.blockmap/.yml/unpacked dirs).🤖 Generated with Claude Code