diff --git a/README.md b/README.md index 3661cc7d..602ba0b6 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,12 @@ The return value of the script will be in the step's outputs under the run: echo "${{steps.my-script.outputs.result}}" ``` +See ["Result encoding"](#result-encoding) for details on how the encoding of +these outputs can be changed. + +This will print the full diff object in the screen; `result.data` will +contain the actual diff text. + ## Result encoding By default, the JSON-encoded return value of the function is set as the "result" in the @@ -171,12 +177,6 @@ jobs: console.log(result) ``` -See ["Result encoding"](#result-encoding) for details on how the encoding of -these outputs can be changed. - -This will print the full diff object in the screen; `result.data` will -contain the actual diff text. - ### Run a separate file If you don't want to inline your entire script that you want to run, you can