Skip to content

Commit

Permalink
ci: check bazel cache 3
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed Oct 22, 2023
1 parent e498678 commit df4b252
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/gki-kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ jobs:
- name: Check bazel cache
if: inputs.use_cache == true
run:
du -sh /home/runner/.cache/bazel
if [ -e /home/runner/.cache/bazel ]; then
du -sh /home/runner/.cache/bazel
find /home/runner/.cache/bazel -type f -size +10M -exec rm -f {} \;
du -sh /home/runner/.cache/bazel
fi

- name: Prepare artifacts
id: prepareArtifacts
Expand Down

0 comments on commit df4b252

Please sign in to comment.