mirror of
https://github.com/actions/github-script.git
synced 2026-10-15 20:06:55 +00:00
Accept json or string encoding of result
This commit is contained in:
3 files changed
+41
-4
No files matched your search
@@ -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`
|
||||
|
||||
Reference in new issue
Block a user