Skip to content

Commit 74f827b

Browse files
committed
Test CI
1 parent d233d0c commit 74f827b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/wrap.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ jobs:
4040

4141
# Detect changed files
4242
- name: Detect changed files
43-
run: echo "CHANGED_FILES=$(git diff --name-only ${{ github.event.before }}..${{ github.event.after }})" >> $GITHUB_ENV
43+
run: echo "CHANGED_FILES=$(git diff --name-only ${{ github.event.before }}..${{ github.event.after }}) -- $(find . -name *.po)" >> $GITHUB_ENV
4444

4545
# Wrap changed files
4646
- name: Wrap
47-
run: powrap ${CHANGED_FILES}
47+
if: $(CHANGED_FILES)
48+
run: powrap ${CHANGED_FILES}
49+
if: ! $(CHANGED_FILES)
50+
run: echo "No files changed"

0 commit comments

Comments
 (0)