From 860f7c108247a2cc9bf0d1daafa899869d15dd77 Mon Sep 17 00:00:00 2001 From: Enrico Minack Date: Thu, 4 Apr 2024 14:38:01 +0200 Subject: [PATCH] Fix if clause --- .github/actions/test/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 0e934f71..9336c650 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -100,7 +100,7 @@ runs: python -m pip cache list || true # assert no whl files have been built - if [ python -m pip cache info ] && [ "$(python -m pip cache info | grep "Number of locally built wheels:")" != "Number of locally built wheels: 0" ] + if python -m pip cache info && [[ "$(python -m pip cache info | grep "Number of locally built wheels:")" != "Number of "*"wheels: 0" ]] then echo "Dependency whl files have been built" exit 1