Skip to content

Commit

Permalink
Fix section not moved
Browse files Browse the repository at this point in the history
  • Loading branch information
jclem committed May 18, 2020
1 parent 181dcc2 commit adb3d51
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit adb3d51

Please sign in to comment.