How Outputs support multiline text? Or is there any other way? #327
Labels
No Label
kind
bug
kind
build
kind/compatible
kind
dependencies
kind
docs
kind
enhancement
kind
feature
kind
help wanted
kind
proposal
kind
refactor
related
act
related
environment
related
exec
related
gitea
related
workflow
reviewed
confirmed
reviewed
duplicate
reviewed
invalid
reviewed
needs feedback
reviewed
wontfix
reviewed
workaround
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/act_runner#327
Loading…
Reference in New Issue
Block a user
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?
I hava a actions repo
seepine/action-test-output
And in workflow
test.yml
The log of b is empty
I get this (version:v0.2.3+10-g1a7ec5f)
This error is expected, because you should assign the output to an env var and reference it like
This is not the right syntax see https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter
@ChristopherHX
Actually, i have tried so much, but it can't work
@seepine
I cannot tell you what is wrong without your actual workflow / action content.
Line 1-6 are syntactically valid, but are affected by script injection.
Line 6-9 are invalid, replace is not an expression function (Gitea could change that, but the current act code of gitea doesn't look like to have it)
I have attached a zip of my test repo (It is literally a copy of the information you have provided in your first post). If that works on your side (e.g. you see the same error as in my comment #327 (comment)) and seepine/action-test-output is also a nodejs action then the issue is your code not act_runner.
However I have not enough information about your current code to help you further.