Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 96e1d42

Browse filesBrowse files
committed
Update changed-translation-files step with native git diff command
1 parent 6fadff7 commit 96e1d42
Copy full SHA for 96e1d42

File tree

Expand file treeCollapse file tree

1 file changed

+7
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-3
lines changed

‎.github/workflows/integration-tests.yml

Copy file name to clipboardExpand all lines: .github/workflows/integration-tests.yml
+7-3Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,14 @@ jobs:
198198
# sudo rm -rf .phpunit
199199
# [ -d .phpunit.bak ] && mv .phpunit.bak .phpunit
200200

201-
- uses: marceloprado/has-changed-path@v1.0.1
201+
- name: Check for changes in translation files
202202
id: changed-translation-files
203-
with:
204-
paths: src/**/Resources/translations/*.xlf
203+
run: |
204+
if git diff --quiet HEAD~1 HEAD -- 'src/**/Resources/translations/*.xlf'; then
205+
echo "{changed}={true}" >> $GITHUB_OUTPUT
206+
else
207+
echo "{changed}={false}" >> $GITHUB_OUTPUT
208+
fi
205209
206210
- name: Check Translation Status
207211
if: steps.changed-translation-files.outputs.changed == 'true'

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.