Skip to content

Commit eb4662c

Browse files
joaoh82claude
andauthored
ci(release): exclude sqlrite-journal from release-pr lock refresh (#147)
#145 added `examples/desktop-journal/src-tauri` (package `sqlrite-journal`, a Tauri/GTK crate) as a workspace member and updated ci.yml's build/test/clippy/doc steps to `--exclude sqlrite-journal`, but release-pr.yml's "Refresh Cargo.lock" step was missed. So `cargo build --workspace --exclude sqlrite-desktop` tried to compile sqlrite-journal → glib-sys on a runner without the GTK system libs, failing the first release-PR dispatch since #145 merged. Mirror ci.yml: also exclude sqlrite-journal here. Lock-refresh only needs to resolve versions, not build the desktop/journal apps. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ed83464 commit eb4662c

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/release-pr.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,15 @@ jobs:
8686

8787
- name: Refresh Cargo.lock
8888
# `cargo build` updates Cargo.lock with the new workspace
89-
# member versions. `--exclude sqlrite-desktop` because the
90-
# desktop crate needs the Svelte frontend compiled first
91-
# (Tauri's build.rs looks for `desktop/dist/`) — we're not
92-
# building a release artifact here, just refreshing the lock.
93-
# `--quiet` keeps the log tidy; a real compile failure still
94-
# surfaces.
95-
run: cargo build --workspace --exclude sqlrite-desktop --quiet
89+
# member versions. We exclude the two Tauri crates
90+
# (`sqlrite-desktop`, `sqlrite-journal`): both need their Svelte
91+
# frontend compiled first (Tauri's build.rs looks for a `dist/`)
92+
# and pull in the GTK/glib system stack that this runner doesn't
93+
# install — we're not building a release artifact here, just
94+
# refreshing the lock. Keep this exclude list in sync with the
95+
# cargo steps in ci.yml. `--quiet` keeps the log tidy; a real
96+
# compile failure still surfaces.
97+
run: cargo build --workspace --exclude sqlrite-desktop --exclude sqlrite-journal --quiet
9698

9799
- name: Configure git identity
98100
# Use the github-actions[bot] identity so the commit shows

0 commit comments

Comments
 (0)