Closed blaggacao closed 2 years ago
Like this?
steps.ping = { … }: {
when = …;
"then".job = …;
};
Pro:
Contra:
then
is a keyword in Nix (could use do
instead?)could use
do
instead?
:+1:
IMO, this looks nice:
steps.ping = { … }: {
when = …;
do = …;
};
Intent based naming in the workflow spec would make for a nice reading as
when
...then
...