From 14fd03d6ba9ae53057107e627dc339520bb25325 Mon Sep 17 00:00:00 2001 From: Tyler Date: Mon, 19 May 2025 22:38:46 -0400 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 752e7bc..84ea2b8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,11 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, macos-latest] + include: + - os: ubuntu-latest + hostname: wash + - os: macos-latest + hostname: MAC-C57KK2TC69 runs-on: ${{ matrix.os }} @@ -29,6 +33,13 @@ jobs: with: name: tmayoff authToken: '${{ secrets.CACHIX_AUTH }}' - - run: | - nix build ./dot_config/flake#nixosConfigurations.wash.config.system.build.toplevel --cores 1 -j1 - + + - name: build nixos + if: runner.os == 'Linux' + run: | + nh os build ./dot_config/flake/ -- --cores 1 -j1 + + - name: build darwin + if: runner.os == 'macOS' + run: | + nh darwin build ./dot_config/flake/ -- --cores 1 -j1