File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -77,13 +77,14 @@ runs:
7777 shell : bash
7878 if : inputs.install-python == 'true' && runner.os == 'macOS' && inputs.homebrew-python == 'true'
7979 run : |
80- NONINTERACTIVE=1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" || true
81- NONINTERACTIVE=1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
80+ brew update
81+ brew upgrade
8282 brew uninstall --force --ignore-dependencies 'python@${{ inputs.python-version }}' || true
8383 brew install --overwrite 'python@${{ inputs.python-version }}'
8484 echo "/usr/local/opt/python@${{ inputs.python-version }}/Frameworks/Python.framework/Versions/${{ inputs.python-version }}/bin" >> $GITHUB_PATH
8585 echo "/usr/local/opt/python@${{ inputs.python-version }}/libexec/bin" >> $GITHUB_PATH
8686 echo "/usr/local/opt/python@${{ inputs.python-version }}/bin" >> $GITHUB_PATH
87+ brew cleanup
8788
8889 - name : Python Pre-VENV Check
8990 shell : bash
You can’t perform that action at this time.
0 commit comments