extraArgs -> nix-flags

This commit is contained in:
Daylin Morgan 2025-01-23 11:06:01 -06:00
parent 406e613600
commit a259bbc8a7
Signed by: daylin
GPG key ID: 950D13E9719334AD
3 changed files with 9 additions and 8 deletions

View file

@ -11,8 +11,8 @@ on:
lockFile: lockFile:
description: "flake.lock file" description: "flake.lock file"
type: string type: string
extraArgs: nix-flags:
description: "postional args forwared to nix" description: "flags forwared to nix commands"
type: string type: string
default: "--keep-going" default: "--keep-going"
@ -58,4 +58,4 @@ jobs:
--flake . --flake .
-vv -vv
-- --
${{ inputs.extraArgs }} ${{ inputs.nix-flags }}

View file

@ -12,8 +12,8 @@ on:
description: "list of nix flake inputs" description: "list of nix flake inputs"
default: "" default: ""
type: "string" type: "string"
extraArgs: nix-flags:
description: "postional args forwared to nix" description: "flags forwared to nix commands"
default: "" default: ""
type: string type: string
@ -25,7 +25,7 @@ on:
env: env:
hosts: ${{ github.event_name == 'schedule' && 'othalan,algiz' || github.event.inputs.hosts }} hosts: ${{ github.event_name == 'schedule' && 'othalan,algiz' || github.event.inputs.hosts }}
flake-inputs: ${{ github.event_name == 'schedule' && '' || github.event.inputs.flake-inputs }} 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: permissions:
contents: write contents: write
@ -69,7 +69,7 @@ jobs:
--flake . --flake .
-vv -vv
-- --
${{ env.extraArgs }} ${{ env.nix-flags }}
- name: Commit Updates - name: Commit Updates
@ -105,7 +105,7 @@ jobs:
--flake . --flake .
-vv -vv
-- --
${{ env.extraArgs }} ${{ env.nix-flags }}
- run: | - run: |
echo "# system diffs" >> $GITHUB_STEP_SUMMARY echo "# system diffs" >> $GITHUB_STEP_SUMMARY

1
;q Normal file
View file

@ -0,0 +1 @@
${{ env.nix-flags }}