Skip to content

Commit

Permalink
does this work?
Browse files Browse the repository at this point in the history
  • Loading branch information
MAKOMO committed Aug 19, 2023
1 parent aadfb28 commit a4d71bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ci/install-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ if [ -n "${PYUPGRADE_V:-}" ]; then
# relink Python
brew unlink python@${PYTHON_V} && brew link --force --overwrite python@${PYTHON_V}
hash -r
brew install jq
# add path
# export PATH="$(brew --prefix)/Cellar/python@${PYTHON_V}/${PYUPGRADE_V}/bin:${PATH}"
export PATH="$(brew --cellar python@${PYTHON_V})/bin:${PATH}"
export PATH="$(brew --cellar python@${PYTHON_V})/$(brew info --json python@${PYTHON_V} | jq -r '.[0].installed[0].version')/bin:${PATH}"
echo $PATH
which python3
python3 --version
Expand Down

0 comments on commit a4d71bf

Please sign in to comment.