21 lines
877 B
YAML
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
|