mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
.github/workflows: add cachix
This commit is contained in:
parent
ac55653ff3
commit
97c209fe4b
1 changed files with 17 additions and 0 deletions
17
.github/workflows/cachix.yml
vendored
Normal file
17
.github/workflows/cachix.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
name: "Build ci.nix and push to cachix"
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
jobs:
|
||||
cachix:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: cachix/install-nix-action@v13
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-21.05
|
||||
- uses: cachix/cachix-action@v10
|
||||
with:
|
||||
name: nix-on-droid
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- run: nix-build ci.nix
|
||||
Loading…
Add table
Add a link
Reference in a new issue