Update references to Job needs
This commit is contained in:
@@ -10,8 +10,8 @@ export function getNeedsContext(workflowContext: WorkflowContext): data.Dictiona
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const jobID of workflowContext.job.needs) {
|
for (const jobID of workflowContext.job.needs) {
|
||||||
const job = workflowContext.template?.jobs.find(job => job.id.value === jobID);
|
const job = workflowContext.template?.jobs.find(job => job.id.value === jobID.value);
|
||||||
d.add(jobID, needsJobContext(job));
|
d.add(jobID.value, needsJobContext(job));
|
||||||
}
|
}
|
||||||
|
|
||||||
return d;
|
return d;
|
||||||
|
|||||||
Reference in New Issue
Block a user