on b97cd4e help sign in
rel8/.github/workflows/build.yaml
24 lines 747 B history raw
1name: Build
2on: [push, pull_request, release]
3jobs:
4 build:
5 runs-on: ubuntu-latest
6 steps:
7 - uses: actions/checkout@v2.3.4
8 with:
9 persist-credentials: false
10 submodules: true
12 - uses: cachix/install-nix-action@v12
13 with:
14 nix_path: nixpkgs=channel:nixos-unstable
15 extra_nix_config: |
16 trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
17 substituters = https://cache.nixos.org/ https://hydra.iohk.io
19 - uses: cachix/cachix-action@v8
20 with:
21 name: rel8
22 authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
24 - run: nix-build -A hsPkgs.rel8.components.library