mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
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:
parent
0e27c6dbbb
commit
ca0aa44c38
1 changed files with 3 additions and 2 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue