Skip to content

Commit ba0cdb4

Browse files
author
l
committed
get wider range of files
1 parent 0aa6620 commit ba0cdb4

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

.github/workflows/test-sdc-tasks.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,19 @@ jobs:
2424
- name: Get changed files
2525
id: changed-files
2626
uses: tj-actions/changed-files@v47.0.5
27-
- name: List all changed files
28-
env:
29-
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
30-
run: |
31-
for file in ${ALL_CHANGED_FILES}; do
32-
echo "$file was changed"
33-
done
3427
- name: test individual shell tools
3528
id: test-individual-shell-tools
36-
if: contains(steps.changed-files.outputs.modified_files, 'individual-shell-tools/awk/script-01.sh')
29+
if: contains(steps.changed-files.outputs.modified_files, 'individual-shell-tools/')
3730
run: ./test-sdc.sh individual-shell-tools
3831
shell: bash
3932
- name: test jq
4033
id: test-jq
41-
if: contains(steps.changed-files.outputs.modified_files, 'jq/script-01.sh')
34+
if: contains(steps.changed-files.outputs.modified_files, 'jq/')
4235
run: ./test-sdc.sh jq
4336
shell: bash
4437
- name: test shell-pipelines
4538
id: test-shell-pipelines
46-
if: contains(steps.changed-files.outputs.modified_files, 'shell-pipelines/ls-grep/script-01.sh')
39+
if: contains(steps.changed-files.outputs.modified_files, 'shell-pipelines/')
4740
run: ./test-sdc.sh shell-pipelines
4841
shell: bash
4942
- name: make output comment

0 commit comments

Comments
 (0)