Skip to content

Commit 5f4fe25

Browse files
committed
try uploading wheel on windows
1 parent 658c442 commit 5f4fe25

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/python.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,12 @@ jobs:
290290
shell: cmd
291291
run: |
292292
call "ci\scripts\python_build.bat" %cd% "${{ steps.path-info.outputs.usr-windows-dir }}"
293+
- name: Upload wheel
294+
if: always() # ensures this runs even on failure
295+
uses: actions/upload-artifact@v4
296+
with:
297+
name: built-wheel
298+
path: python/dist/*.whl
293299
- name: Test PyArrow
294300
shell: cmd
295301
run: |

ci/scripts/python_build.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,10 @@ pushd %SOURCE_DIR%\python
132132
@REM Install Python build dependencies
133133
%PYTHON_CMD% -m pip install --upgrade pip || exit /B 1
134134
%PYTHON_CMD% -m pip install -r requirements-build.txt || exit /B 1
135+
%PYTHON_CMD% -m pip install -r build || exit /B 1
135136

136137
@REM Build PyArrow
138+
%PYTHON_CMD% -m build --wheel . --no-isolation
137139
%PYTHON_CMD% -m pip install --no-deps --no-build-isolation -vv -Ccompile-args="-v" . || exit /B 1
138140

139141
popd

0 commit comments

Comments
 (0)