diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index 7262f59..870099e 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