Output
For example, if Tool A has an output, we can use its value as Tool B’s options.
- If B really needs to “depend on” A, i.e., we want to make sure A runs first before B runs, we still need to use the keyword (see the previous section “Core Concepts“ for more details.)
To use the output, follow this format:
- TOOL_INSTANCE_ID is “default”
If the “trello” tool/plugin has an output key name “boardId”, then we can use its value by the following syntax:
In this example: - The “default” instance of tool argocdapp
depends on the “default” instance of tool - The “default” instance of tool argocdapp
has an user option “options.source.repoURL”, which uses the “default” instance of tool ‘s output “repoURL” (${{ github-repo-scaffolding-golang.default.outputs.repoURL }}
)