Update main.yml

This commit is contained in:
Tyler 2025-05-19 22:48:27 -04:00 committed by GitHub
parent 14fd03d6ba
commit 36d911f3d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,12 +34,18 @@ jobs:
name: tmayoff
authToken: '${{ secrets.CACHIX_AUTH }}'
- name: build nixos
- uses: workflow/nix-shell-action@v3
if: runner.os == 'Linux'
run: |
name: build nixos
with:
packages: nh
script: |
nh os build ./dot_config/flake/ -- --cores 1 -j1
- name: build darwin
- uses: workflow/nix-shell-action@v3
if: runner.os == 'macOS'
run: |
name: build darwin
with:
packages: nh
script: |
nh darwin build ./dot_config/flake/ -- --cores 1 -j1