feat: add support for json formatted output. (#557)
This commit is contained in:
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
@@ -332,6 +332,17 @@ jobs:
|
||||
echo '${{ toJSON(steps.changed-files-pipe.outputs) }}'
|
||||
shell:
|
||||
bash
|
||||
- name: Run changed-files with json output
|
||||
id: changed-files-json
|
||||
uses: ./
|
||||
with:
|
||||
json: true
|
||||
- name: Show output
|
||||
run: |
|
||||
echo '${{ toJSON(steps.changed-files-json.outputs) }}'
|
||||
echo '${{ toJSON(steps.changed-files-json.outputs.all_changed_files) }}'
|
||||
shell:
|
||||
bash
|
||||
- name: Run changed-files with comma separator
|
||||
id: changed-files-comma
|
||||
uses: ./
|
||||
|
||||
Reference in New Issue
Block a user