Skip to content

Commit af9cb2c

Browse files
committed
Test CI
1 parent 74f827b commit af9cb2c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/wrap.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,13 @@ jobs:
4444

4545
# Wrap changed files
4646
- name: Wrap
47-
if: $(CHANGED_FILES)
48-
run: powrap ${CHANGED_FILES}
49-
if: ! $(CHANGED_FILES)
50-
run: echo "No files changed"
47+
run: |
48+
if ${#${CHANGED_FILES}[@]} == 0; then
49+
echo "No files to wrap"
50+
else
51+
echo "Wrapping files: ${CHANGED_FILES}"
52+
for file in ${{ CHANGED_FILES }}; do
53+
echo "Wrapping $file"
54+
powrap $file
55+
done
56+
fi

0 commit comments

Comments
 (0)