add nixos-generators module

Signed-off-by: cy <cy@cy7.sh>
This commit is contained in:
cy 2025-01-24 12:23:03 -05:00
parent 2d0c49f55b
commit e69fd33dea
4 changed files with 49 additions and 3 deletions

View file

@ -26,7 +26,8 @@ jobs:
- name: Sync repository
uses: actions/checkout@v4
with:
persist-credentials: false
install_url: https://releases.nixos.org/nix/nix-2.25.4/install
extra_nix_config: 'accept-flake-config = true'
- uses: cachix/cachix-action@v14
with:
name: cything
@ -57,3 +58,7 @@ jobs:
# always save the cache
save-always: true
- run: nix build -L ${{ matrix.package }}
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.package }}-${{ matrix.os }}
path: result/