nix-conf/.forgejo/workflows/cache.yaml
Crony Akatsuki 4d4c43f854
Some checks failed
/ cache (push) Failing after 2m53s
feat: use system cache
2026-03-13 23:14:05 +01:00

23 lines
709 B
YAML

on: [push]
jobs:
cache:
runs-on: ubuntu-latest
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 .#nixosConfigurations.freyja.config.system.build.toplevel