From bece15eaacca8da60e2ab54c99e6f93fd964ccfa Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Tue, 23 Dec 2025 05:32:36 +0400 Subject: [PATCH] Ensure patches aren't cleared up in actions They're used by following steps --- .github/workflows/mac.yml | 2 +- .github/workflows/win.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 3eda9fa91a..745e7327d6 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -97,7 +97,7 @@ jobs: ./$REPO_NAME/Telegram/build/prepare/mac.sh skip-release silent - name: Free up some disk space. - run: find Libraries '(' '(' ! '(' -name '*.a' -o -name '*.h' -o -name '*.hpp' -o -name '*.inc' -o -name '*.cmake' -o -path '*/include/*' -o -path '*/objects-*' -o -path '*/cache_keys/*' -o -perm +111 ')' -type f ')' -o -empty ')' -delete + run: find Libraries '(' '(' ! '(' -name '*.a' -o -name '*.h' -o -name '*.hpp' -o -name '*.inc' -o -name '*.cmake' -o -path '*/include/*' -o -path '*/objects-*' -o -path '*/cache_keys/*' -o -path '*/patches/*' -o -perm +111 ')' -type f ')' -o -empty ')' -delete - name: Telegram Desktop build. if: env.ONLY_CACHE == 'false' diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index 371fda644e..aba7cd3443 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -175,7 +175,7 @@ jobs: - name: Free up some disk space. shell: bash - run: find TBuild/Libraries '(' '(' ! '(' -name '*.lib' -o -name '*.a' -o -name '*.exe' -o -name '*.h' -o -name '*.hpp' -o -name '*.inc' -o -name '*.cmake' -o -path '*/include/*' -o -path '*/objects-*' -o -path '*/cache_keys/*' ')' -type f ')' -o -empty ')' -delete + run: find TBuild/Libraries '(' '(' ! '(' -name '*.lib' -o -name '*.a' -o -name '*.exe' -o -name '*.h' -o -name '*.hpp' -o -name '*.inc' -o -name '*.cmake' -o -path '*/include/*' -o -path '*/objects-*' -o -path '*/cache_keys/*' -o -path '*/patches/*' ')' -type f ')' -o -empty ')' -delete - name: Telegram Desktop build. if: env.ONLY_CACHE == 'false'