From f8754b810504585015586cee33b3a113860f590c Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 18 Jul 2024 09:09:56 -0500 Subject: [PATCH] add matrix for update --- .github/workflows/update.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 03b23bf..82e75ee 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -56,6 +56,13 @@ jobs: build-full: needs: build-minimal runs-on: ubuntu-latest + strategy: + matrix: + host: + - othalan + - algiz + - mannaz + - naudiz steps: - name: Checkout uses: actions/checkout@v4 @@ -71,9 +78,10 @@ jobs: with: purge-packages: 'true' + - name: Build run: | - system_attr=$(nix run . -- output --host "othalan" --flake .) + system_attr=$(nix run . -- output --host "${{ matrix.host }}" --flake .) nix run . \ -- \ build $system_attr \ @@ -88,7 +96,7 @@ jobs: - name: Build Updated run: | - system_attr=$(nix run . -- output --host "othalan" --flake .) + system_attr=$(nix run . -- output --host "${{ matrix.host }}" --flake .) nix run . \ -- \ build $system_attr \ @@ -108,5 +116,5 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: summary + name: ${{ matrix.host }}-summary path: summary.md