[GH-ISSUE #323] Documentation question: If I want to run a single job, how do I feed in output? #227

Closed
opened 2026-03-01 21:41:30 +03:00 by kerem · 1 comment
Owner

Originally created by @aronchick on GitHub (Jul 29, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/323

If I wanted to run the following command:

act -j log_metadata

and the step looks like this:

    # Print out all outputs
    - name: Log Metadata
      id: log_metadata
      run: |
        node .github/actions-files/logger.js '${{ toJson(steps.previous_job.outputs) }}'

How do I inject steps.previous_job.outputs into the job? Is it an environment variable?

Originally created by @aronchick on GitHub (Jul 29, 2020). Original GitHub issue: https://github.com/nektos/act/issues/323 If I wanted to run the following command: ``` act -j log_metadata ``` and the step looks like this: ``` # Print out all outputs - name: Log Metadata id: log_metadata run: | node .github/actions-files/logger.js '${{ toJson(steps.previous_job.outputs) }}' ``` How do I inject ```steps.previous_job.outputs``` into the job? Is it an environment variable?
kerem 2026-03-01 21:41:30 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@github-actions[bot] commented on GitHub (Sep 28, 2020):

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

<!-- gh-comment-id:699710196 --> @github-actions[bot] commented on GitHub (Sep 28, 2020): Issue is stale and will be closed in 7 days unless there is new activity
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#227
No description provided.