Skip to content

Commit

Permalink
add separate calibre cache action
Browse files Browse the repository at this point in the history
  • Loading branch information
zachcoyle committed May 8, 2024
1 parent 113d7c4 commit b2968e1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/cache-nixos-calibre.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: cachix-nixos
on:
pull_request:
push:
jobs:
cachix:
runs-on: ubuntu-latest
steps:
# - name: Set Swap Space
# uses: pierotofy/set-swap-space@master
# with:
# swap-size-gb: 0.1
# - name: Free Disk Space
# uses: jlumbroso/free-disk-space@main
# with:
# tool-cache: true
- name: Checkout
uses: actions/[email protected]
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v14
with:
name: zachcoyle
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build .#nixosConfigurations.nixos-laptop.pkgs.calibre --show-trace
continue-on-error: true

0 comments on commit b2968e1

Please sign in to comment.