Skip to content

Commit

Permalink
Cache nix
Browse files Browse the repository at this point in the history
  • Loading branch information
bakaq committed Oct 16, 2023
1 parent 2b9c5b4 commit bb9ac3f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
uses: nixbuild/nix-quick-install-action@v25
- name: Restore and cache Nix store
uses: nix-community/cache-nix-action@v3
with:
key: cache-${{ matrix.os }}-${{ hashFiles('flake.lock') }}
restore-keys: cache-${{ matrix.os }}-
- name: Build release
run: |
nix develop --command make all
Expand Down

0 comments on commit bb9ac3f

Please sign in to comment.