diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7fc59dde0b3..879816ff8c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -416,6 +416,15 @@ jobs: uses: ./ with: separator: "," + - name: List all modified files + run: | + 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 + shell: + bash - name: Show output run: | echo '${{ toJSON(steps.changed-files-comma.outputs) }}' diff --git a/test/test rename 1.txt b/test/test rename 1.txt index 6de7b8c69d6..7462db65924 100644 --- a/test/test rename 1.txt +++ b/test/test rename 1.txt @@ -1 +1 @@ -This is a test file. +This is test file 1. diff --git a/test/test rename 2.txt b/test/test rename 2.txt index 6de7b8c69d6..a938d27c661 100644 --- a/test/test rename 2.txt +++ b/test/test rename 2.txt @@ -1 +1 @@ -This is a test file. +This is test file 2.