ci(nightly): rolling nightly desktop build pinned to main - #14
Merged
Conversation
Scheduled workflow (18:17 UTC ≈ 02:17 TPE) + manual dispatch. Builds the macOS app from the tip of main and republishes a single rolling `nightly` pre-release (durable download URL, unlike 7-day run artifacts). Forward-compatible: builds + stages the oab-mcp sidecar (unused on pre-sidecar main revisions). Not auto-update: that additionally needs a Tauri updater signing key + latest.json. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…tly) A merged PR is a push to main, so add a push trigger; the daily schedule stays as a safety net and workflow_dispatch for manual runs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
When the checked-out app enables updater artifacts (createUpdaterArtifacts + pubkey), sign the .app.tar.gz with the repo signing key and publish latest.json on the rolling nightly release so the in-app 檢查更新 button can pull it. Stamps a monotonic 0.1.0-nightly.<ts> version so the updater can compare builds. Forward-compatible: inert on pre-updater main (no tarball → latest.json skipped). 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.
Nightly macOS build pinned to the tip of
main, published as a single rollingnightlypre-release (durable URL, unlike 7-day run artifacts).17 18 * * *(18:17 UTC ≈ 02:17 Asia/Taipei) +workflow_dispatch.nightlytag/release at the current commit; download is alwaysreleases/tag/nightly(or the "nightly" release's asset).v0.1.0 · <sha>), so a nightly self-identifies.Sequencing
Scheduled workflows only fire once this file is on main, and the build ships whatever is on main. Right now main is the older in-process app (pre-#9) — so until #9 (sidecar) lands on main, nightly ships that, not the sidecar/tabs/version-stamp build. Recommend landing #9 (→ #10) first to make nightly meaningful. The workflow is written forward-compatible (the sidecar build step is harmless on pre-sidecar main).
Not included (follow-on)
Auto-update (the installed app pulling the nightly) needs a Tauri updater signing key + a
latest.jsonon the release — pending your go on generating/storing the key. This PR only builds + publishes the.dmg.🤖 Generated with Claude Code