nixos-configs/.forgejo/workflows/cachix.yml
matt1432 6554f87b62
Some checks failed
Binary Cache / Build (push) Failing after 7m33s
Discord / discord commits (push) Has been skipped
feat(ci): build all flake outputs to cachix
2023-12-25 02:57:07 -05:00

27 lines
644 B
YAML

name: Binary Cache
on: [push, pull_request, workflow_dispatch]
jobs:
nix:
name: "Build"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v3
with:
submodules: recursive
- name: Setup-Nix
uses: https://github.com/cachix/install-nix-action@v24
- uses: https://github.com/yaxitech/nix-install-pkgs-action@v3
with:
packages: "nixpkgs#nixci"
- uses: https://github.com/cachix/cachix-action@v12
with:
name: archives
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build configs
run: |
nixci