Update check.yml

This commit is contained in:
freearhey
2025-05-13 06:27:10 +03:00
parent 42dcd360df
commit def95471d3

View File

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