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 @@ -241,6 +241,7 @@ jobs:
241241 USE_BUNDLE : " true"
242242 MACOSX_DEPLOYMENT_TARGET : " 11.0"
243243 LUPA_WITH_LUA_DLOPEN : ${{ startsWith(matrix.os, 'windows') && 'false' || 'true' }}
244+ PYTHON_BIN_DIR : ${{ startsWith(matrix.pyversion, '2.') && '/Library/Frameworks/Python.framework/Versions/2.7/bin' || '' }}
244245
245246 steps :
246247 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -263,12 +264,12 @@ jobs:
263264
264265 - name : Install dependencies
265266 run : |
266- export PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin :$PATH
267+ export PATH=$PYTHON_BIN_DIR :$PATH
267268 python -m pip install setuptools wheel -r requirements.txt
268269
269270 - name : Build wheels
270271 run : |
271- export PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin :$PATH
272+ export PATH=$PYTHON_BIN_DIR :$PATH
272273 python setup.py --with-cython sdist ${{ contains(matrix.pyversion, '3.') && 'build_ext -j6' || '' }} bdist_wheel
273274
274275 - name : Release
You can’t perform that action at this time.
0 commit comments