Skip to content

Commit acef073

Browse files
committed
Update ci.yml
1 parent e91dc3b commit acef073

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,14 @@ jobs:
3030
with:
3131
since_last_remote_commit: true
3232
files: |
33-
**/Dockerfile
33+
**/*
34+
35+
- name: Echo list of changed files on success
36+
run: |
37+
echo "Changed files:"
38+
echo "${{ steps.changed-files.outputs.all_changed_files }}"
39+
echo "Changed files using toJSON:"
40+
echo '${{ toJSON(steps.changed-files.outputs.all_changed_files) }}'
3441
3542
- name: Prepare
3643
id: prepare
@@ -42,7 +49,7 @@ jobs:
4249
4350
4451
def discover() -> list[str]:
45-
for changed in ${{ steps.changed-markdown-files.outputs.all_changed_files || '[]' }}:
52+
for changed in "${{ steps.changed-files.outputs.all_changed_files }}".split(" "):
4653
path = Path(changed)
4754
if Path(path.parts[0]).is_dir():
4855
yield path.parts[0]

0 commit comments

Comments
 (0)