mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #2697] Job getting composite action's output variable with wrong key #1216
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1216
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ErnestoArtigas on GitHub (Mar 17, 2025).
Original GitHub issue: https://github.com/nektos/act/issues/2697
Bug report info
Command used with act
Describe issue
I've found a bug, where you can use a composite action's output variable with the wrong name in act, whereas on github actions' runner it won't be picked up.
In this stripped down code, I have a workflow, called
test-workflow, that calls the composite actioncomposite-action.The composite action outputs a value,
dummy_variable, from the stepdummy_stepown outputted variable that is calledvalue.The workflow calls the composite action in
composite_step, then outputs thedumy_variablewith the pathsteps.composite_step.outputs.value:Because the path is wrong, on github actions' runner, the variable isn't picked up and outputs
output, withoutdummy_variable:Fixing the path from
outputs.valuetooutputst.dummy_variable, such as:Doesn't change anything in act:
And fixes it on github actions' runner
Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
No response