Skip to content

Commit

Permalink
Add nix cache to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Nov 30, 2022
1 parent 7d3e638 commit a5e5c0f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ jobs:
- name: Install nix
uses: cachix/install-nix-action@v16

- uses: cachix/cachix-action@v12
with:
name: christianharke
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: Build command (x86_64)
if: matrix.system == 'x86_64'
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
- name: Install nix
uses: cachix/install-nix-action@v16

- uses: cachix/cachix-action@v12
with:
name: christianharke
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: Update inputs
run: nix flake update

Expand Down

0 comments on commit a5e5c0f

Please sign in to comment.