nixos-config/.github/workflows/cachix.yaml

36 lines
743 B
YAML
Raw Normal View History

name: "Build packages for cachix"
on:
push:
paths:
- 'pkgs/**'
- 'flake.nix'
- 'flake.lock'
2021-11-02 16:24:26 +01:00
- '.github/workflows/*'
jobs:
build:
runs-on: ubuntu-latest
2022-01-11 11:56:30 +01:00
strategy:
matrix:
name:
- emacsPgtkGcc
- grafanaDashboards/nginx
- grafanaDashboards/node-exporter
- kaleidoscope-udev-rules
- sddm-sugar-candy
- spot
steps:
- uses: actions/checkout@v2
2022-01-11 11:56:30 +01:00
2021-12-27 15:51:54 +01:00
- uses: cachix/install-nix-action@v16
2022-01-11 11:56:30 +01:00
- uses: cachix/cachix-action@v10
with:
name: alarsyo
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
2022-01-11 13:47:36 +01:00
extraPullNames: "nix-community"
2022-01-11 11:56:30 +01:00
- name: Build package
run: nix build --verbose -L .#"${{ matrix.name }}"