Skip to content

Commit

Permalink
Fix if clause
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Apr 4, 2024
1 parent 01c37e7 commit 505c975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 locally built wheels: 0" ]]
then
echo "Dependency whl files have been built"
exit 1
Expand Down

0 comments on commit 505c975

Please sign in to comment.