fix build

This commit is contained in:
Daylin Morgan 2024-11-18 11:36:35 -06:00
parent e49988ab35
commit afa347e80e
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -1,12 +1,14 @@
name: Build NixOS (on demand) name: Build NixOS (on demand)
# TODO: accept , style sep in hwylcli
on: on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
hosts: hosts:
description: 'list of hosts to build' description: 'list of hosts to build'
required: true required: true
default: ',othalan,algiz' default: 'othalan'
# default: ',othalan,algiz'
type: string type: string
lockFile: lockFile:
description: 'flake.lock file' description: 'flake.lock file'
@ -17,7 +19,6 @@ on:
hosts: hosts:
description: 'list of hosts to build' description: 'list of hosts to build'
default: 'othalan' default: 'othalan'
# TODO: accept , style sep in hwylcli
# default: ',othalan,algiz' # default: ',othalan,algiz'
type: string type: string
@ -50,7 +51,7 @@ jobs:
experimental-features = pipe-operator experimental-features = pipe-operator
accept-flake-config = true accept-flake-config = true
- uses: DeterminateSystems/magic-nix-cache-action@v8 # - uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Install and login to attic cache - name: Install and login to attic cache
run: | run: |
@ -77,7 +78,7 @@ jobs:
-- --
cache cache
--host "${{ inputs.hosts }}" --host "${{ inputs.hosts }}"
--flake --flake .
--debug --debug
-- --
--keep-going --keep-going