mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 16:16:21 +00:00
Move another section in the wrong place
This commit is contained in:
@@ -44,9 +44,6 @@ The return value of the script will be in the step's outputs under the
|
|||||||
See ["Result encoding"](#result-encoding) for details on how the encoding of
|
See ["Result encoding"](#result-encoding) for details on how the encoding of
|
||||||
these outputs can be changed.
|
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
|
||||||
@@ -177,6 +174,9 @@ jobs:
|
|||||||
console.log(result)
|
console.log(result)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user