18 lines
579 B
YAML
18 lines
579 B
YAML
on: [push]
|
|
|
|
jobs:
|
|
cache:
|
|
runs-on: debian-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v5
|
|
- name: Install nix
|
|
uses: https://github.com/cachix/install-nix-action@v31
|
|
- name: Setup Attic cache
|
|
uses: https://github.com/ryanccn/attic-action@v0
|
|
with:
|
|
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
|
cache: ${{ secrets.ATTIC_CACHE }}
|
|
token: ${{ secrets.ATTIC_TOKEN }}
|
|
- name: Build freyja configuration
|
|
run: nix build .#nixosConfigurations.freyja.config.system.build.toplevel
|