mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-02 15:04:18 -06:00
extraArgs -> nix-flags
This commit is contained in:
parent
406e613600
commit
a259bbc8a7
3 changed files with 9 additions and 8 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -11,8 +11,8 @@ on:
|
|||
lockFile:
|
||||
description: "flake.lock file"
|
||||
type: string
|
||||
extraArgs:
|
||||
description: "postional args forwared to nix"
|
||||
nix-flags:
|
||||
description: "flags forwared to nix commands"
|
||||
type: string
|
||||
default: "--keep-going"
|
||||
|
||||
|
@ -58,4 +58,4 @@ jobs:
|
|||
--flake .
|
||||
-vv
|
||||
--
|
||||
${{ inputs.extraArgs }}
|
||||
${{ inputs.nix-flags }}
|
||||
|
|
10
.github/workflows/update.yml
vendored
10
.github/workflows/update.yml
vendored
|
@ -12,8 +12,8 @@ on:
|
|||
description: "list of nix flake inputs"
|
||||
default: ""
|
||||
type: "string"
|
||||
extraArgs:
|
||||
description: "postional args forwared to nix"
|
||||
nix-flags:
|
||||
description: "flags forwared to nix commands"
|
||||
default: ""
|
||||
type: string
|
||||
|
||||
|
@ -25,7 +25,7 @@ on:
|
|||
env:
|
||||
hosts: ${{ github.event_name == 'schedule' && 'othalan,algiz' || github.event.inputs.hosts }}
|
||||
flake-inputs: ${{ github.event_name == 'schedule' && '' || github.event.inputs.flake-inputs }}
|
||||
extraArgs: ${{ github.event_name == 'schedule' && '' || github.event.inputs.extraArgs }}
|
||||
nix-flags: ${{ github.event_name == 'schedule' && '' || github.event.inputs.nix-flags }}
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
@ -69,7 +69,7 @@ jobs:
|
|||
--flake .
|
||||
-vv
|
||||
--
|
||||
${{ env.extraArgs }}
|
||||
${{ env.nix-flags }}
|
||||
|
||||
|
||||
- name: Commit Updates
|
||||
|
@ -105,7 +105,7 @@ jobs:
|
|||
--flake .
|
||||
-vv
|
||||
--
|
||||
${{ env.extraArgs }}
|
||||
${{ env.nix-flags }}
|
||||
|
||||
- run: |
|
||||
echo "# system diffs" >> $GITHUB_STEP_SUMMARY
|
||||
|
|
1
;q
Normal file
1
;q
Normal file
|
@ -0,0 +1 @@
|
|||
${{ env.nix-flags }}
|
Loading…
Reference in a new issue