nix-conf/.forgejo/workflows/default.yml
Crony Akatsuki b41a66f8f0
Some checks failed
default / build (push) Failing after 2m16s
feat: try using attic.
2026-01-22 20:32:52 +01:00

21 lines
704 B
YAML

name: default
on:
push:
env:
NIX_CONFIG: "accept-flake-config = true"
jobs:
build:
runs-on: native
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- run: nix flake check
continue-on-error: true
- 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: |
attic login action https://cache.cronyakatsuki.xyz ${{ secrets.ATTIC_TOKEN }}
attic push system result -j 2