Fix section not moved

This commit is contained in:
Jonathan Clem 2020-05-18 12:52:37 -04:00
parent 181dcc219c
commit adb3d5168d
No known key found for this signature in database
GPG key ID: B3662C4A8F843179

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}}" 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 ## Result encoding
By default, the JSON-encoded return value of the function is set as the "result" in the 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) 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 ### Run a separate file
If you don't want to inline your entire script that you want to run, you can If you don't want to inline your entire script that you want to run, you can