nix-conf/.forgejo/workflows/default.yml
Crony Akatsuki 0dde96fb55
Some checks failed
default / build (push) Has been cancelled
fix: no need for magix-nix-cache, not github actions.
2026-01-23 18:08:20 +01:00

20 lines
797 B
YAML

name: default
on:
push:
env:
NIX_CONFIG: "accept-flake-config = true"
jobs:
build:
runs-on: debian-latest
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://github.com/DeterminateSystems/nix-installer-action@main
- run: nix build .#nixosConfigurations.bragi.config.system.build.toplevel
- run: nix build .#nixosConfigurations.thor.config.system.build.toplevel
- run: nix build .#nixosConfigurations.odin.config.system.build.toplevel
- run: nix build .#nixosConfigurations.freyja.config.system.build.toplevel
- run: |
nix run github:zhaofengli/attic#default login actions https://cache.cronyakatsuki.xyz ${{ secrets.ATTIC_TOKEN }}
nix run github:zhaofengli/attic#default push system result -j 2