diff --git a/.github/workflows/python_package_ci.yaml b/.github/workflows/python_package_ci.yaml index 839f5314..2764728d 100644 --- a/.github/workflows/python_package_ci.yaml +++ b/.github/workflows/python_package_ci.yaml @@ -49,10 +49,9 @@ jobs: if: matrix.os == 'macos-latest' run: | brew bundle install --file=Brewfile - # configure PATH & PKG_CONFIG_PATH as per - # https://gitlab.pyicu.org/main/pyicu - echo "/opt/homebrew/opt/icu4c/bin:/opt/homebrew/opt/icu4c/sbin:$PATH" >> $GITHUB_PATH - echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/homebrew/opt/icu4c/lib/pkgconfig" >> $GITHUB_ENV + # Configure PATH & PKG_CONFIG_PATH as in https://gitlab.pyicu.org/main/pyicu. + echo "PATH='$(brew --prefix)/opt/icu4c/bin:$(brew --prefix)/opt/icu4c/sbin:$PATH'" >> $GITHUB_PATH + echo "PKG_CONFIG_PATH='$PKG_CONFIG_PATH:$(brew --prefix)/opt/icu4c/lib/pkgconfig'" >> $GITHUB_ENV - name: Install Python Dependencies run: |