Skip already-cached packages in CI build-and-cache #43

Merged
johno merged 2 commits from fix/ci-skip-cached-packages into main 2026-02-14 18:26:34 -08:00
Owner

Before building each package, checks if its store path already exists on the cache host via nix path-info over SSH. Skips build+sign+copy for packages that are already cached. Avoids rebuilding expensive packages like stremio/qt5webengine on every merge.

Before building each package, checks if its store path already exists on the cache host via nix path-info over SSH. Skips build+sign+copy for packages that are already cached. Avoids rebuilding expensive packages like stremio/qt5webengine on every merge.
johno added 1 commit 2026-02-14 18:16:14 -08:00
Skip already-cached packages in CI build-and-cache job
All checks were successful
CI / check (pull_request) Successful in 5m26s
CI / build-and-cache (pull_request) Has been skipped
acd9d8d70f
johno added 1 commit 2026-02-14 18:25:10 -08:00
Use nix eval for cache path detection instead of --dry-run
All checks were successful
CI / check (pull_request) Successful in 5m15s
CI / build-and-cache (pull_request) Has been skipped
cd7439b132
johno merged commit c50c90ab13 into main 2026-02-14 18:26:34 -08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johno/nixos-configs#43