Skip to content

Commit

Permalink
chore(worker): update YAML schema references in workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
miseyu committed Jun 24, 2024
1 parent 06a7009 commit da4ccc3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ C:\> vcpkg integrate install
## Input Variables
### Declaring an Input Variable
``` yaml
# yaml-language-server: $schema=https://raw.githubusercontent.com/reearth/reearth-flow/main/schema/workflow.json
id: a7fc8f35-b84f-496b-a2cb-65be3bfec285
name: "lod_splitter_with_dm"
entryGraphId: 3e3450c8-2344-4728-afa9-5fdb81eec33a
Expand Down Expand Up @@ -90,9 +91,11 @@ $ cargo run --package reearth-flow-examples --example attribute_reader
```console
$ brew install graphviz
$ cargo install yaml-include
$ yaml-include examples/plateau/testdata/workflow/attribute_reader.yml | cargo run -- dot --workflow - | dot -Tpng > output.png
$ yaml-include examples/plateau/testdata/workflow/xml_validator.yml | cargo run -- dot --workflow - | dot -Tpng > output.png
```

![xml_validator](./docs/images/xml_validator.png)

### Run generate action documentation
```console
$ cargo make doc-action
Expand Down
Binary file added worker/docs/images/xml_validator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/reearth/reearth-flow/main/schema/workflow.json
id: 369bd41c-52f7-4aec-bc4a-8a62c8e41fcd
name: "PLATEAU.AttributeReader"
entryGraphId: 64931277-3a82-4a1c-88bc-9b54fe172518
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/reearth/reearth-flow/main/schema/workflow.json
id: a7fc8f35-b84f-496b-a2cb-65be3bfec285
name: "PLATEAU.DomainOfDefinitionValidator"
entryGraphId: 3e3450c8-2344-4728-afa9-5fdb81eec33a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/reearth/reearth-flow/main/schema/workflow.json
id: a7fc8f35-b84f-496b-a2cb-65be3bfec285
name: "lod_splitter_with_dm"
entryGraphId: 3e3450c8-2344-4728-afa9-5fdb81eec33a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/reearth/reearth-flow/main/schema/workflow.json
id: a7fc8f35-b84f-496b-a2cb-65be3bfec285
name: "PLATEAU.XMLValidator"
entryGraphId: 3e3450c8-2344-4728-afa9-5fdb81eec33a
Expand Down

0 comments on commit da4ccc3

Please sign in to comment.