mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
[MacOS] Fix pipx vars for arm64 (#9609)
* fix pipx vars for arm64 * fix white space in path
This commit is contained in:
@@ -41,8 +41,14 @@ echo "Brew Installing Python 3"
|
|||||||
brew_smart_install "python@3.12"
|
brew_smart_install "python@3.12"
|
||||||
|
|
||||||
echo "Installing pipx"
|
echo "Installing pipx"
|
||||||
export PIPX_BIN_DIR=/usr/local/opt/pipx_bin
|
|
||||||
export PIPX_HOME=/usr/local/opt/pipx
|
if is_Arm64; then
|
||||||
|
export PIPX_BIN_DIR="$HOME/.local/bin"
|
||||||
|
export PIPX_HOME="$HOME/Library/Application\ Support/pipx"
|
||||||
|
else
|
||||||
|
export PIPX_BIN_DIR=/usr/local/opt/pipx_bin
|
||||||
|
export PIPX_HOME=/usr/local/opt/pipx
|
||||||
|
fi
|
||||||
|
|
||||||
brew_smart_install "pipx"
|
brew_smart_install "pipx"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user