nix-conf/.forgejo/workflows/default.yml
Crony Akatsuki bf62829b8c
Some checks failed
default / build (push) Has been cancelled
fix: try using github.com?
2026-01-23 18:00:04 +01:00

21 lines
877 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
- uses: https://github.com/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