CI fixes (#28)

* fail-fast:false

* Update Nix build commands in GitHub Actions workflow to use specific configurations for NixOS and Darwin.

* Update Nix build commands in GitHub Actions workflow to remove '.system' suffix for configurations.
This commit is contained in:
Tyler Mayoff 2025-06-20 14:32:05 -04:00 committed by GitHub
parent 0e27c6dbbb
commit ca0aa44c38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,7 @@ on:
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
@ -40,7 +41,7 @@ jobs:
with:
packages: nh
script: |
nh os build ./dot_config/flake#${{matrix.hostname}} -- --cores 1 -j1
nh os build ./dot_config/flake#nixosConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1
- uses: workflow/nix-shell-action@v3
if: runner.os == 'macOS'
@ -48,4 +49,4 @@ jobs:
with:
packages: nh
script: |
nh darwin build ./dot_config/flake#${{matrix.hostname}} -- --cores 1 -j1
nh darwin build ./dot_config/flake#darwinConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1