diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a9aa970a..061d11ca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,9 +30,9 @@ jobs: echo $file done - name: Run step when README.md changes - if: contains(fromJSON("${{ steps.changed-files.outputs.modified_files }}"), 'README.md') + if: contains(${{ fromJSON("${{ steps.changed-files.outputs.modified_files }}") }}, 'README.md') run: | - echo "Your README.md has been modified fromJSON("${{ steps.changed-files.outputs.modified_files }}")." + echo "Your README.md has been modified ${{ fromJSON("${{ steps.changed-files.outputs.modified_files }}") }}." - name: Run changed-files with comma separator if: github.event_name == 'pull_request' id: changed-files-comma