Treatment githubSetOutputs
cicd/services/github::githubSetOutputs
Configuration
⬡ contexts: javascript::JavaScriptEngine
Inputs
⇥ continue_on_error: Block<bool>
⇥ spawn_completed: Block<void>
⇥ spawn_failed: Block<void>
⇥ step_id: Block<string>
⇥ workflow_id: Block<string>
Outputs
↦ step_completed: Block<void>
↦ step_continue: Block<void>
↦ step_failed: Block<void>
Record step outputs and advance the GitHub Actions step state machine.
Waits for either spawn_completed or spawn_failed to arrive, then reads the step's
output file, updates the JavaScript engine's steps context object, and emits the
appropriate signals.
step_completed is emitted when the step succeeded.
step_failed is emitted when the step failed.
step_continue is emitted when execution should proceed to the next step (either because
the step succeeded, or because continue_on_error is true).
graph LR
T("githubSetOutputs()")
W["〈🟦〉"] -->|workflow_id| T
S["〈🟨〉"] -->|step_id| T
C["〈🟩〉"] -->|continue_on_error| T
SC["〈🟪〉"] -->|spawn_completed| T
SF["〈🟫〉"] -->|spawn_failed| T
T -->|step_completed| O1["〈🟦〉"]
T -->|step_failed| O2["〈🟥〉"]
T -->|step_continue| O3["〈🟩〉"]
style W fill:#ffff,stroke:#ffff
style S fill:#ffff,stroke:#ffff
style C fill:#ffff,stroke:#ffff
style SC fill:#ffff,stroke:#ffff
style SF fill:#ffff,stroke:#ffff
style O1 fill:#ffff,stroke:#ffff
style O2 fill:#ffff,stroke:#ffff
style O3 fill:#ffff,stroke:#ffff