summaryrefslogtreecommitdiff
path: root/src/Job
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-11-13 23:23:08 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2025-11-13 23:23:08 +0100
commit00e5bc0f9874eb9f929e917ba44bbd7b6f2ca4a8 (patch)
treefbfdb065ed90bbbf65dcbe3c41e9042d46ae15cf /src/Job
parentd6ff11543a3897dd2b38ed121f958ef0050e272c (diff)
Do not require recipe and empty checkout in job definition
Diffstat (limited to 'src/Job')
-rw-r--r--src/Job/Types.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Job/Types.hs b/src/Job/Types.hs
index d9fa08e..fd20e9a 100644
--- a/src/Job/Types.hs
+++ b/src/Job/Types.hs
@@ -18,7 +18,7 @@ data Job' d = Job
{ jobId :: JobId' d
, jobName :: JobName
, jobCheckout :: [ JobCheckout d ]
- , jobRecipe :: [ CreateProcess ]
+ , jobRecipe :: Maybe [ CreateProcess ]
, jobArtifacts :: [ ( ArtifactName, Pattern ) ]
, jobUses :: [ ArtifactSpec ]
, jobPublish :: [ JobPublish d ]