Fix section not moved

This commit is contained in:
Jonathan Clem
2020-05-18 12:52:37 -04:00
parent 181dcc219c
commit adb3d5168d

View File

@@ -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