Skip to content

Commit 2a2ca6a

Browse files
Fix CI (#2072)
1 parent 2920e74 commit 2a2ca6a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/benchmarks.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ jobs:
5858
sudo swapoff -a
5959
sudo rm -f /swapfile
6060
sudo apt clean
61-
docker rmi $(docker images -a -q)
61+
images=$(docker images -a -q)
62+
if [ -n "$images" ]; then
63+
docker rmi $images
64+
fi
6265
df -h
6366
6467
- name: Setup Python environment

0 commit comments

Comments
 (0)