workflow: use attic cache for packages too

This commit is contained in:
cy 2025-03-13 14:30:02 -04:00
parent 7a971e519a
commit 8209ff70ff
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
2 changed files with 26 additions and 7 deletions

View file

@ -70,6 +70,9 @@ jobs:
- run: |
nix build -L .#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel
- name: cache result
run: |
nix run github:zhaofengli/attic push main result
build-homes:
@ -126,4 +129,7 @@ jobs:
- run: |
nix build -L .#homeConfigurations."${{ matrix.home }}".activationPackage
- name: cache result
run: |
nix run github:zhaofengli/attic push main result