Accept json or string encoding of result

This commit is contained in:
Jonathan Clem committed 2020-01-08 14:39:09 -05:00
1 parent 1a49f59545
commit 622ce3121a
3 files changed
+41 -4

No files matched your search

+3
View File
@@ -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`