Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Apr 2, 2021
1 parent 122b223 commit 33a185b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -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(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 ${{ steps.changed-files.outputs.modified_files }}."
- name: Run changed-files with comma separator
if: github.event_name == 'pull_request'
id: changed-files-comma
Expand Down

0 comments on commit 33a185b

Please sign in to comment.