From 6cf7970c0916cc3c05b5289d28ec89b4e35b6e5b Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Wed, 15 Jan 2025 13:09:36 +0100 Subject: [PATCH] fix(generate): Create a correct result --- modules/workflows.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/workflows.nix b/modules/workflows.nix index 38048cf..df8eb9d 100644 --- a/modules/workflows.nix +++ b/modules/workflows.nix @@ -60,11 +60,11 @@ let '' json2yaml "$valuePath" out cat "$headerPath" out > "$out" - '' - + (optionalString buildCheck '' - # Check that the workflow is valid - cd "${rootSrc}" && action-validator "$out" - ''); + ${optionalString buildCheck '' + # Check that the workflow is valid + cd "${rootSrc}" && action-validator "$out" + ''} + ''; install = name: value: