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.
2 parents d89db5b + f8e6050 commit 6f0504cCopy full SHA for 6f0504c
README.md
@@ -187,9 +187,13 @@ output of a github-script step. For some workflows, string encoding is preferred
187
188
```yaml
189
- uses: actions/github-script@0.9.0
190
+ id: my-script
191
with:
192
github-token: ${{secrets.GITHUB_TOKEN}}
193
result-encoding: string
194
script: |
195
return "I will be string (not JSON) encoded!"
196
+
197
+- name: Prints result
198
+ run: cat '${{ steps.my-script.outputs.result }}'
199
```
0 commit comments