mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #1442] Ambiguous redirect $GITHUB_OUTPUT with latest versions and images #750
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#750
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 @sdepablos on GitHub (Nov 15, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1442
Bug report info
Command used with act
Describe issue
Whatever I try, when using $GITHUB_OUTPUT I get an error "$GITHUB_OUTPUT: ambiguous redirect". If I set it out in the
env, I don't get an error, but still, it does not work.Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
In the non-verbose otuput can be seen clearly how the $GITHUB_OUTPUT is not working.
@ChristopherHX commented on GitHub (Nov 15, 2022):
This feature hasn't received enough reviews from maintainers yet, therefore it is unavailable and some scripts might not work.
Duplicate of #1386
@sdepablos commented on GitHub (Nov 16, 2022):
Thanks @ChristopherHX, I thought it was already solved, but now I see that the PR linked on #1391 is still not closed. I'll keep watching it.
@sneko commented on GitHub (Nov 21, 2022):
@sdepablos https://github.com/nektos/act/pull/1391#issuecomment-1321107660 helped me :)
@michael-s-grant commented on GitHub (Jan 4, 2023):
I am still seeing this problem (in one and one only of in excess of thirty places where I have been replacing
set-output). This discussion suggested I needed to be using a runner of at least v. 2.297.0, but mine is already 2.299.1. Placing quotes around$GITHUB_OUTPUTchanged the error to " : no such file or directory"; the space before the semicolon indicates the environment variable was being interpreted as empty, even though debug proved it wasn't.In the end, I worked around the problem by assigning the environment variable to second variable, and then appending using this and
tee -a, but of course the problem needs to be solved properly, not just worked around.@oms5 commented on GitHub (Jan 18, 2023):
@michael-s-grant I am having this issue as well running with 2.300.2