From f41f9eb54bbb74482ed3b4365a452dc173db9e58 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 2 Apr 2021 08:13:34 -0400 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f6c04869..088d8de8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,18 +19,22 @@ jobs: id: changed-files uses: ./ - name: Show output + if: github.event_name == 'pull_request' run: | echo "${{ toJSON(steps.changed-files.outputs) }}" - name: List all modified files + if: github.event_name == 'pull_request' run: | for file in "${{ steps.changed-files.outputs.modified_files }}"; do echo $file done - name: Run changed-files with comma separator + if: github.event_name == 'pull_request' id: changed-files-comma uses: ./ with: separator: "," - name: Show output + if: github.event_name == 'pull_request' run: | echo "${{ toJSON(steps.changed-files-comma.outputs) }}"