From 04f48b0ca09678190949e9c7095bee0e2c5b5a46 Mon Sep 17 00:00:00 2001 From: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> Date: Mon, 3 Feb 2025 15:58:21 -0500 Subject: [PATCH] Update benchmarks.yml --- .github/workflows/benchmarks.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 93185329a..2052f9056 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -1,7 +1,7 @@ name: Fuzzers+Benchmarks on: pull_request: - paths: + paths:d - 'docker/**' # Base image changes. - 'fuzzers/**' # Changes to fuzzers themselves. - 'benchmarks/**' # Changes to benchmarks. @@ -58,7 +58,10 @@ jobs: sudo swapoff -a sudo rm -f /swapfile sudo apt clean - docker rmi $(docker images -a -q) + images=$(docker images -a -q) + if [ -n "$images" ]; then + docker rmi $images + fi df -h - name: Setup Python environment