ci: build with the tauri CLI directly; hand-roll latest.json - #45
Merged
Conversation
tauri-action assumes pnpm and invokes `pnpm tauri build`, which isn't on PATH under our vp toolchain — the build died before starting. Replace it with the proven explicit `tauri build` (signing via env, createUpdaterArtifacts emits the .sig), upload the bundles + updater artifacts with gh, and add a latest-json job that merges each platform's signature/URL fragment into one latest.json on the release.
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.
The v0.2.0 build failed: tauri-action assumes pnpm (
running pnpm [tauri build]), which isn't on PATH under ourvptoolchain, so it died before building (surfacing as an 'unsettled top-level await').Replace tauri-action with the proven explicit build:
./node_modules/.bin/tauri build(shell: bash, resolves the bin on all OSes; this exact command built all four platforms green on the throwaway tag) with the signing key in env andcreateUpdaterArtifactsemitting a.sigper platform.gh.latest-jsonjob merges each platform's{target: {signature, url}}fragment into onelatest.jsonand attaches it.macOS now builds
app,dmgso the.app.tar.gzupdater artifact exists; each matrix row carries its updatertargetkey. After merge: dispatchtag=v0.2.0to fill v0.2.0.