We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25ca39d commit e641989Copy full SHA for e641989
1 file changed
action.yml
@@ -64,6 +64,7 @@ runs:
64
- name: Checkout code
65
uses: actions/checkout@v4
66
- name: Set up Python
67
+ id: setup-python
68
uses: actions/setup-python@v4
69
with:
70
python-version: ${{ inputs.python-version }}
@@ -131,6 +132,11 @@ runs:
131
132
fi
133
134
135
+ # deal with HomeBrew managed Python on GitHub Hosted MacOS runners
136
+ if [[ "${RUNNER_OS}" == "macOS" ]]; then
137
+ EXTRA_PIP_FLAGS="${EXTRA_PIP_FLAGS} --break-system-packages"
138
+ fi
139
+
140
echo "::debug::Installing ${INPUTS_LINTER}${LINTER_VERSION_CONSTRAINT} for Python ${INPUTS_PYTHON_VERSION}"
141
142
# install linter
0 commit comments