From 771e18683f868fbfda52f07651f8f1d62cec00ba Mon Sep 17 00:00:00 2001 From: Alexandre Date: Wed, 1 Jul 2026 20:16:51 +0200 Subject: [PATCH] Added a cache ig --- .gitea/workflows/Build Framework.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/Build Framework.yaml b/.gitea/workflows/Build Framework.yaml index 1c6609b..601f5e7 100644 --- a/.gitea/workflows/Build Framework.yaml +++ b/.gitea/workflows/Build Framework.yaml @@ -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