2020-03-22 18:22:16 +01:00
|
|
|
name: "Nix Build"
|
|
|
|
|
2020-11-23 14:12:32 +01:00
|
|
|
# on: [push]
|
|
|
|
on: []
|
2020-03-22 18:22:16 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: cachix/install-nix-action@v8
|
2020-03-22 19:47:09 +01:00
|
|
|
- name: Cache nix store
|
|
|
|
uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
path: /nix
|
|
|
|
key: ${{ runner.os }}-nix-store
|
2020-03-22 18:22:16 +01:00
|
|
|
- uses: cachix/cachix-action@v5
|
|
|
|
with:
|
|
|
|
name: hitsofcode
|
|
|
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
2020-03-22 18:33:48 +01:00
|
|
|
attributes: package
|