Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Apr 27, 2021
1 parent c23d938 commit 4019c2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:
.(sql)$
^(mynewfile|custom)
- name: Display changed files
if: steps.changed_files.outputs.files_changed == 'true'
if: steps.verify_changed_files.outputs.files_changed == 'true'
run: |
echo "Changed files: ${{ steps.verify_changed_files.outputs.changed_files }}" # Outputs: test_directory/new.txt
- name: Perform action when files change.
if: steps.changed_files.outputs.files_changed == 'true'
if: steps.verify_changed_files.outputs.files_changed == 'true'
run: |
echo "Do something when files have changed."
```
Expand All @@ -60,7 +60,7 @@ jobs:
new.txt
test_directory
- name: Perform action when test_directory changes
if: contains(steps.changed_files.outputs.verify_changed_files, 'test_directory')
if: contains(steps.verify_changed_files.outputs.verify_changed_files, 'test_directory')
run: |
echo "test_directory has changed."
```
Expand Down

0 comments on commit 4019c2f

Please sign in to comment.