trilom / file-changes-action

This action can be added, and you will get outputs of all of the files that have changed in your repository for you to use.
MIT License
167 stars 48 forks source link

newline support? #134

Open shaunaa126 opened 2 years ago

shaunaa126 commented 2 years ago

How can we return the output to be newline delimmited? Does the following work?

      - name: Get File(s) Changed
        id: files
        uses: trilom/file-changes-action@v1.2.4
        with:
          output: '\n'
          fileOutput: '\n'
shaunaa126 commented 2 years ago

Tested the above, and it does not return newline:

example response

test1.yml\ntest2..yml\ntest3.yml

I am not sure if I am missing something, as based on code this should have worked with the join