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