chore: test using for loop with output
This commit is contained in:
parent
3da07e5b14
commit
be849d1612
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@ -416,6 +416,15 @@ jobs:
|
||||
uses: ./
|
||||
with:
|
||||
separator: ","
|
||||
- name: List all modified files
|
||||
run: |
|
||||
IFS=$','
|
||||
for file in ${{ steps.changed-files-comma.outputs.modified_files }}; do
|
||||
echo $file
|
||||
done
|
||||
unset IFS
|
||||
shell:
|
||||
bash
|
||||
- name: Show output
|
||||
run: |
|
||||
echo '${{ toJSON(steps.changed-files-comma.outputs) }}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user