mirror of
https://codeberg.org/icewind/attic-action.git
synced 2026-06-03 17:44:07 +02:00
Simplify how paths are pushed
Previously we were setting up Nix build hook to make sure all paths are synced to cachix. This had a few flaws: - nix-daemon had to be restarted, resulting into a few seconds extra setup per each build - spurious error on macos due to nix-daemon socket not ready in time - significant overhead since syncing to cachix was synchronous for each derivation built Now we just look for new store paths and push those after nix-build.
This commit is contained in:
parent
89036a5745
commit
7bea2cc0c1
3 changed files with 45 additions and 90 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn build
|
||||
- run: yarn test
|
||||
- uses: cachix/install-nix-action@v6
|
||||
- uses: cachix/install-nix-action@v7
|
||||
- name: Test public cache
|
||||
uses: ./
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue