updated compiler
All checks were successful
Build and Test / build-image (push) Successful in 31s

This commit is contained in:
2026-01-01 23:39:59 +03:00
parent 8ee5a9466e
commit 8c4410dc61
2 changed files with 4 additions and 1 deletions

View File

@@ -12,7 +12,8 @@ if (string.IsNullOrEmpty(workflowViewFile) || !Directory.Exists(projectDirectory
return; return;
} }
var workflow = JsonSerializer.Deserialize<S8nWorkflow>(File.OpenRead(workflowViewFile), JsonSerializerOptions.Web)!; using var stream = File.OpenRead(workflowViewFile);
var workflow = JsonSerializer.Deserialize<S8nWorkflow>(stream, JsonSerializerOptions.Web)!;
var edgesFile = Path.Combine(projectDirectory, $"{workflow.Name}.Edges.cs"); var edgesFile = Path.Combine(projectDirectory, $"{workflow.Name}.Edges.cs");
var nodesFile = Path.Combine(projectDirectory, $"{workflow.Name}.Nodes.cs"); var nodesFile = Path.Combine(projectDirectory, $"{workflow.Name}.Nodes.cs");

2
build.sh Executable file
View File

@@ -0,0 +1,2 @@
docker build -t jetframes482/sharp8n-compiler .