[GH-ISSUE #465] Miss steps context outcome, conclusion #323

Closed
opened 2026-03-01 21:42:22 +03:00 by kerem · 2 comments
Owner

Originally created by @theowenyoung on GitHub (Jan 10, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/465

Hi, Currently, the steps context does not match the Github action.

Docs: https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#steps-context

For example:

steps:
  - id: test
    run: echo test
  - run: echo $outcome
    env:
      outcome: steps.test.outcome

Currently the step context:

{"success": true,"outputs": {}}

Expected:

{
  "outcome": "success",
  "conclusion": "success",
  "outputs": {
  }
}

Code: github.com/nektos/act@e47a2395a5/pkg/runner/run_context.go (L40-L43)

Originally created by @theowenyoung on GitHub (Jan 10, 2021). Original GitHub issue: https://github.com/nektos/act/issues/465 Hi, Currently, the steps context does not match the Github action. Docs: https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#steps-context For example: ```yaml steps: - id: test run: echo test - run: echo $outcome env: outcome: steps.test.outcome ``` Currently the step context: ```json {"success": true,"outputs": {}} ``` Expected: ```json { "outcome": "success", "conclusion": "success", "outputs": { } } ``` Code: https://github.com/nektos/act/blob/e47a2395a5260aca1cec1506f0243e919ed4e70c/pkg/runner/run_context.go#L40-L43
kerem 2026-03-01 21:42:22 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@github-actions[bot] commented on GitHub (Feb 10, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:776337169 --> @github-actions[bot] commented on GitHub (Feb 10, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@catthehacker commented on GitHub (Feb 24, 2021):

Will look at it.

<!-- gh-comment-id:784633776 --> @catthehacker commented on GitHub (Feb 24, 2021): Will look at it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#323
No description provided.