mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-27 06:10:53 +01:00
fix: wrong syntax to hide step
This commit is contained in:
parent
67b391d33a
commit
c387b4d84b
1 changed files with 3 additions and 3 deletions
|
@ -233,7 +233,7 @@ def nix_update_flake_config(
|
|||
)
|
||||
)
|
||||
|
||||
factory.addStep(SetProperty(property="GitFailed", value="failed", doStepIf=(lambda step: step.build.results == FAILURE)))
|
||||
factory.addStep(SetProperty(property="GitFailed", value="failed", hideStepIf=True, doStepIf=(lambda step: step.build.results == FAILURE)))
|
||||
|
||||
factory.addStep(
|
||||
steps.Git(
|
||||
|
@ -245,7 +245,7 @@ def nix_update_flake_config(
|
|||
mode="full",
|
||||
branch="main",
|
||||
doStepIf=failure,
|
||||
hideStepIf=lambda x: not(failure(x))
|
||||
hideStepIf=lambda _, x: not(failure(x))
|
||||
)
|
||||
)
|
||||
factory.addStep(steps.ShellCommand(
|
||||
|
@ -258,7 +258,7 @@ def nix_update_flake_config(
|
|||
],
|
||||
haltOnFailure=True,
|
||||
doStepIf=failure,
|
||||
hideStepIf=lambda x: not(failure(x))
|
||||
hideStepIf=lambda _, x: not(failure(x))
|
||||
)
|
||||
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue