mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 08:06:23 +00:00
Accept json or string encoding of result
This commit is contained in:
@@ -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