We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a52e7f4 commit b91d578Copy full SHA for b91d578
README.md
@@ -33,6 +33,15 @@ See [development.md](/docs/development.md).
33
34
## Reading step results
35
36
+Print the available attributes of context:
37
+
38
+```yaml
39
+- name: View context attributes
40
+ uses: actions/github-script@0.9.0
41
+ with:
42
+ script: console.log(context)
43
+```
44
45
The return value of the script will be in the step's outputs under the
46
"result" key.
47
0 commit comments