chore: test using for loop with output

This commit is contained in:
Tonye Jack
2022-09-04 22:28:32 -06:00
committed by GitHub
parent 3da07e5b14
commit be849d1612

View File

@@ -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) }}'