diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 7e91758f6e..12c8ebd18b 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -95,9 +95,7 @@ jobs: ./$REPO_NAME/Telegram/build/prepare/mac.sh skip-release silent - name: Free up some disk space. - run: | - cd Libraries - find . -iname "*.dir" -exec rm -rf {} || true \; + run: find Libraries -iwholename "*.dir/*" -delete - name: Telegram Desktop build. if: env.ONLY_CACHE == 'false'