2024-07-08 14:32:35 +04:00
|
|
|
name: "Cachix Build"
|
2024-07-08 14:21:56 +04:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
jobs:
|
2024-07-08 14:32:35 +04:00
|
|
|
sakopc:
|
2024-07-08 14:21:56 +04:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: cachix/install-nix-action@v25
|
|
|
|
with:
|
2024-07-08 14:32:35 +04:00
|
|
|
nix_path: nixpkgs=channel:nixos-24.05
|
2024-07-08 14:21:56 +04:00
|
|
|
- uses: cachix/cachix-action@v14
|
|
|
|
with:
|
2024-07-08 14:32:35 +04:00
|
|
|
name: sako-nixos
|
2024-07-08 14:21:56 +04:00
|
|
|
# If you chose signing key for write access
|
|
|
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
|
|
|
# If you chose API tokens for write access OR if you have a private cache
|
|
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
2024-07-08 14:32:35 +04:00
|
|
|
- run: nix build .#nixosConfiguration.sakopc.config.system.build.toplevel
|
2024-07-08 14:21:56 +04:00
|
|
|
- run: nix-shell --run "echo OK"
|