nix-conf/.forgejo/workflows/cache.yaml
Crony Akatsuki ccc029d613
Some checks failed
/ cache (push) Has been cancelled
feat: force only one build at a time.
2026-03-15 09:31:11 +01:00

23 lines
729 B
YAML

on: [push]
jobs:
cache:
runs-on: native
steps:
- name: Checkout repo
uses: actions/checkout@v5
# - name: Install nix
# uses: https://github.com/cachix/install-nix-action@v31
# - name: Setup system cache
# uses: actions/cache@v3
# with:
# path: /nix/store
# key: nix-cache
- 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 --max-jobs=1 .#nixosConfigurations.freyja.config.system.build.toplevel