From 298c59327d5a92832677452ea996fc7c4c97895a Mon Sep 17 00:00:00 2001 From: Vito Castellano Date: Mon, 29 Dec 2025 23:10:46 +0100 Subject: [PATCH] fix(ci): use --help instead of --version for compatibility The --version flag is not yet in the released version (2.1.1). Use 'which bbrew' and 'bbrew --help' to verify installation. --- .github/workflows/test-install.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-install.yml b/.github/workflows/test-install.yml index a4be941..9919040 100644 --- a/.github/workflows/test-install.yml +++ b/.github/workflows/test-install.yml @@ -39,7 +39,8 @@ jobs: echo "==> Checking brew..." brew --version echo "==> Checking bbrew..." - bbrew --version + which bbrew + bbrew --help | head -3 echo "✓ All checks passed!" test-macos-arm: @@ -69,7 +70,8 @@ jobs: echo "==> Checking brew..." brew --version echo "==> Checking bbrew..." - bbrew --version + which bbrew + bbrew --help | head -3 echo "✓ All checks passed!" test-macos-intel: @@ -101,7 +103,8 @@ jobs: echo "==> Checking brew..." brew --version echo "==> Checking bbrew..." - bbrew --version + which bbrew + bbrew --help | head -3 echo "✓ All checks passed!" test-already-installed: @@ -126,6 +129,7 @@ jobs: - name: Verify bbrew installed run: | eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" - bbrew --version + which bbrew + bbrew --help | head -3 echo "✓ Upgrade path works!"