From 3c7289c84443dc3b837b793e4d69b2f86cf6e95e Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Wed, 16 Oct 2024 00:30:04 +0100 Subject: [PATCH] try --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f330cd6..bfe9294 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -226,11 +226,15 @@ jobs: run: | pip3 install dist/*.whl cd / + echo "moo" (exec 2>/dev/null python3 -c 'import pyray; pyray.init_window(100,100,"test")' 2>/dev/null >output) - exit_code=$? - if cat output | grep -q "INFO: Initializing raylib"; then + echo "woo" + cat output + if grep -q "INFO: Initializing raylib" output; then + echo "boo" exit 0 else + echo "foo" exit 1 fi