Treatment githubGetEnv

cicd/services/github::githubGetEnv


Inputs

⇥ step_id: Block<string>
⇥ workflow_id: Block<string>

Outputs

↦ variables: Block<StringMap> (std/data/string_map::StringMap)


Collect GitHub Actions environment variables for a workflow step.

Reads the GITHUB_ENV file accumulated so far for workflow_id and merges it with the standard GitHub environment file paths (GITHUB_ENV, GITHUB_OUTPUT, GITHUB_WORKSPACE).

variables emits a StringMap containing all resolved environment variables.

graph LR
     T("githubGetEnv()")
     W["〈🟦〉"] -->|workflow_id| T
     S["〈🟨〉"] -->|step_id| T
     T -->|variables| V["〈🟩〉"]
     style W fill:#ffff,stroke:#ffff
     style S fill:#ffff,stroke:#ffff
     style V fill:#ffff,stroke:#ffff