From 255d4c23ccc175df4290b2e496748b55af1fc4a0 Mon Sep 17 00:00:00 2001 From: scito Date: Thu, 15 Feb 2024 23:18:58 +0100 Subject: [PATCH] ci: release support macos arm64: add brew path for zbarlib --- .github/workflows/ci_release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index af6e42b..e6566f1 100644 --- a/.github/workflows/ci_release.yml +++ b/.github/workflows/ci_release.yml @@ -282,6 +282,7 @@ jobs: run: ls "$($Env:WinDir)\system32" - uses: actions/checkout@v3 - name: Set macos macos_python_path + if: runner.os == 'macOS' # TODO use variable for Python version run: echo "macos_python_path=/Library/Frameworks/Python.framework/Versions/3.12" >> $GITHUB_ENV - name: Set up Python 3.12 @@ -296,6 +297,7 @@ jobs: - name: Install zbar shared lib for QReader (macOS) if: runner.os == 'macOS' run: | + export DYLD_LIBRARY_PATH="$(brew --prefix)/lib:$DYLD_LIBRARY_PATH" brew install zbar create-dmg - name: Install dependencies # TODO fix --use-pep517