mirror of
https://github.com/actions/github-script.git
synced 2026-02-07 19:47:26 +00:00
Fix section not moved
This commit is contained in:
parent
181dcc219c
commit
adb3d5168d
1 changed files with 6 additions and 6 deletions
12
README.md
12
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}}"
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue