From 9c9b735b52864a84fe17888c4a3b86fc68c5a67d Mon Sep 17 00:00:00 2001 From: weishu Date: Sun, 22 Oct 2023 11:21:12 +0800 Subject: [PATCH] ci: check bazel cache 5 --- .github/workflows/gki-kernel.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gki-kernel.yml b/.github/workflows/gki-kernel.yml index 9395f6152a19..64f1d37e0b5a 100644 --- a/.github/workflows/gki-kernel.yml +++ b/.github/workflows/gki-kernel.yml @@ -181,10 +181,10 @@ jobs: - name: Check bazel cache if: inputs.use_cache == true - run: + run: | if [ -e /home/runner/.cache/bazel ]; then du -sh /home/runner/.cache/bazel - find /home/runner/.cache/bazel -type f -size +10M | xargs rm -f + find /home/runner/.cache/bazel -type f -size +10M -exec rm -f {} \; du -sh /home/runner/.cache/bazel fi