Added a cache ig
All checks were successful
Check config / build (push) Successful in 50s

This commit is contained in:
Alexandre 2026-07-01 20:16:51 +02:00
parent 00b6aea430
commit 771e18683f

View File

@ -19,6 +19,14 @@ jobs:
with:
utcOffset: "+02:00" # Summer time in France
- name: Cache Nix store
uses: actions/cache@v3
with:
path: /nix/store
key: nix-store-${{ hashFiles('**/*.nix') }}
restore-keys: |
nix-store-
#- name: Install nix
# uses: DeterminateSystems/nix-installer-action@main
# with:
@ -35,7 +43,15 @@ jobs:
- name: Build bumped flake (only one host)
continue-on-error: true
run: |
nix build .#nixosConfigurations.FW16.config.system.build.toplevel
nix build .#nixosConfigurations.FW16.config.system.build.toplevel --print-out-paths --no-link
- name: Cache Nix store
uses: actions/cache@v3
with:
path: /nix/store
key: nix-store-${{ hashFiles('**/*.nix') }}
restore-keys: |
nix-store-
- name: Get Build time
uses: josStorer/get-current-time@v2