2021-08-19 23:36:35 +02:00
|
|
|
name: "Build packages for cachix"
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- 'pkgs/**'
|
|
|
|
- 'flake.nix'
|
|
|
|
- 'flake.lock'
|
2021-11-02 16:24:26 +01:00
|
|
|
- '.github/workflows/*'
|
2021-08-19 23:36:35 +02:00
|
|
|
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
|
|
|
|
|
2021-08-19 23:36:35 +02:00
|
|
|
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
|
|
|
|
2021-08-19 23:36:35 +02:00
|
|
|
- uses: cachix/cachix-action@v10
|
|
|
|
with:
|
|
|
|
name: alarsyo
|
|
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
2022-01-11 11:56:30 +01:00
|
|
|
|
|
|
|
- name: Build package
|
|
|
|
run: nix build --verbose -L .#"${{ matrix.name }}"
|