nix-conf/.forgejo/workflows/default.yml
Crony Akatsuki 5d2a0e01ae
Some checks failed
default / build (push) Failing after 14s
fix: try using debian container.
2026-01-23 17:52:35 +01:00

21 lines
839 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: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-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