Skip to content

.github/workflows/master.yml: build nix derivations once, push to both caches#119

Open
ehildenb wants to merge 2 commits into
masterfrom
nix-optim
Open

.github/workflows/master.yml: build nix derivations once, push to both caches#119
ehildenb wants to merge 2 commits into
masterfrom
nix-optim

Conversation

@ehildenb

@ehildenb ehildenb commented Jun 9, 2026

Copy link
Copy Markdown
Member

The nix-cache and nix-binary-cache jobs each built .#komet from scratch on the same runner matrix before pushing to their respective caches. Merge them into a single job that builds once, pushes the closure to the k-framework cache, then reuses the already-built store paths for the kup publish to k-framework-binary, switching CACHIX_AUTH_TOKEN between the two pushes.

…h caches

The nix-cache and nix-binary-cache jobs each built .#komet from scratch on
the same runner matrix before pushing to their respective caches. Merge them
into a single job that builds once, pushes the closure to the k-framework
cache, then reuses the already-built store paths for the kup publish to
k-framework-binary, switching CACHIX_AUTH_TOKEN between the two pushes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants