Skip to content

Commit 91e5356

Browse files
committed
Add cachix workflow
1 parent 695c2cb commit 91e5356

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/cachix.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Cachix
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
cache:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: cachix/install-nix-action@v25
15+
with:
16+
nix_path: nixpkgs=channel:nixos-unstable
17+
- uses: cachix/cachix-action@v14
18+
with:
19+
name: rime
20+
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
21+
- run: nix build .#rime

0 commit comments

Comments
 (0)