Update check.yml

This commit is contained in:
freearhey
2025-05-13 06:12:32 +03:00
parent 1fb831fb2d
commit 242314ff92

View File

@@ -13,12 +13,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- run: git diff HEAD~1
- name: changed files
id: files
run: |
ANY_CHANGED=false
ALL_CHANGED_FILES=$(git diff --name-only origin/master HEAD -- streams/ | tr '\n' ' ')
ALL_CHANGED_FILES=$(git diff --name-only master HEAD -- streams/ | tr '\n' ' ')
if [ -n "${ALL_CHANGED_FILES}" ]; then
ANY_CHANGED=true
fi