diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index f089b54..fd0ca1c 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -33,10 +33,11 @@ jobs: - name: Install Nix uses: DeterminateSystems/nix-installer-action@main - - uses: actions/cache@v4 + - name: Restore and cache Nix store + uses: nix-community/cache-nix-action@v5 with: - path: /nix/store - key: cache-${{ hashFiles('**/*.lock') }} + # restore and save a cache using this key + primary-key: nix-${{ runner.os }}-${{ hashFiles('**/flake.lock') }} - run: nix build