3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-17 13:47:20 +00:00

Update test.yml

This commit is contained in:
Tonye Jack 2022-09-04 23:34:23 -06:00 committed by GitHub
parent 01d9c79ad2
commit bbc26e5efa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -418,7 +418,8 @@ jobs:
separator: ","
- name: List all modified files
run: |
IFS=$','; for file in ${{ steps.changed-files-comma.outputs.modified_files }}; do
IFS=$',' read -a MODIFIED_FILES_ARRAY <<< "${{ steps.changed-files-comma.outputs.modified_files }}"
for file in "${MODIFIED_FILES_ARRAY[@]}"; do
echo $file
done
unset IFS