mirror of
https://github.com/actions/github-script.git
synced 2026-04-07 22:50:04 +00:00
Accept json or string encoding of result
This commit is contained in:
parent
1a49f59545
commit
622ce3121a
3 changed files with 41 additions and 4 deletions
|
|
@ -19,6 +19,9 @@ inputs:
|
|||
default: actions/github-script
|
||||
previews:
|
||||
description: A comma-separated list of API previews to accept
|
||||
result-encoding:
|
||||
description: Either "string" or "json" (default "json")—how the result will be encoded
|
||||
default: json
|
||||
outputs:
|
||||
result:
|
||||
description: The return value of the script, stringified with `JSON.stringify`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue