All checks were successful
Cachix / build (elendel) (pull_request) Successful in 1m40s
Cachix / build (kholinar) (pull_request) Successful in 2m7s
Cachix / build (marabethia) (pull_request) Successful in 1m42s
Cachix / build (elendel) (push) Successful in 1m39s
Cachix / build (kholinar) (push) Successful in 2m7s
Cachix / build (marabethia) (push) Successful in 1m41s
35 lines
994 B
YAML
35 lines
994 B
YAML
name: Cachix
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
|
|
env:
|
|
USER: root
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: docker
|
|
strategy:
|
|
matrix:
|
|
host:
|
|
- elendel
|
|
- kholinar
|
|
- marabethia
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: apt update && apt install -y sudo
|
|
- uses: https://github.com/cachix/install-nix-action@v31
|
|
with:
|
|
enable_kvm: false
|
|
github_access_token: '${{ secrets.ACCESS_TOKEN_GITHUB }}'
|
|
- name: Cachix
|
|
uses: https://github.com/cachix/cachix-action@v16
|
|
with:
|
|
name: chvp
|
|
extraPullNames: "nix-community,accentor"
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
skipPush: true
|
|
- run: nix build -L --no-link .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel
|
|
- run: nix eval --json ".#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp
|