From 90c0739c677d5592601e4cea1920de0620f33062 Mon Sep 17 00:00:00 2001 From: scito Date: Sat, 6 Apr 2024 10:29:15 +0200 Subject: [PATCH] HOMEBREW_PREFIX --- .github/workflows/ci_release.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index 5a8b4f3..8606841 100644 --- a/.github/workflows/ci_release.yml +++ b/.github/workflows/ci_release.yml @@ -294,8 +294,13 @@ jobs: if: runner.os == 'macOS' run: | brew install zbar create-dmg + - name: Setup homebrew env for macOS x86 + if: matrix.os == 'macos-12' + run: | + # https://earthly.dev/blog/homebrew-on-m1/ + eval "$(/usr/local/bin/brew shellenv)" - name: Setup homebrew env for macOS arm64 - if: runner.os == 'macOS' + if: matrix.os == 'macos-14' run: | # https://earthly.dev/blog/homebrew-on-m1/ eval "$(/opt/homebrew/bin/brew shellenv)" @@ -322,6 +327,21 @@ jobs: echo $GITHUB_PATH echo PYTHON_SITE_PACKAGES_PATH echo $PYTHON_SITE_PACKAGES_PATH + - name: List MacOS dirs + if: runner.os == 'macOS' + run: | + echo PATH + echo $PATH + echo HOMEBREW_PREFIX + echo $HOMEBREW_PREFIX + echo HOMEBREW_CELLAR + echo $HOMEBREW_CELLAR + echo "ls $HOMEBREW_PREFIX/Cellar/zbar" + ls -al "$HOMEBREW_PREFIX/Cellar/zbar" + echo "ls $HOMEBREW_PREFIX/Cellar/zbar/0.23.93" + ls -al "$HOMEBREW_PREFIX/Cellar/zbar/0.23.93" + echo $HOMEBREW_PREFIX/lib + ls -al $HOMEBREW_PREFIX/lib - name: List MacOS dirs if: matrix.os == 'macos-14' run: |