@@ -149,12 +149,12 @@ jobs:
149
149
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GITHUB_WORKSPACE/ws/install/lib
150
150
cmake --build . --config Release --target tesseract_python_doc
151
151
- name : archive wheels
152
- uses : actions/upload-artifact@v2
152
+ uses : actions/upload-artifact@v4
153
153
with :
154
154
name : ' python-wheels-${{ matrix.config.os }}-${{ matrix.config.python_version }}'
155
155
path : ws/build/tesseract_python/python/*
156
156
- name : archive docs
157
- uses : actions/upload-artifact@v2
157
+ uses : actions/upload-artifact@v4
158
158
with :
159
159
name : ' python-docs-${{ matrix.config.os }}-${{ matrix.config.python_version }}'
160
160
path : ws/build/tesseract_python/docs/*
@@ -263,13 +263,13 @@ jobs:
263
263
if %errorlevel% neq 0 exit /b %errorlevel%
264
264
- name : archive wheels
265
265
if : always()
266
- uses : actions/upload-artifact@v2
266
+ uses : actions/upload-artifact@v4
267
267
with :
268
268
name : ' python-wheels-win-${{matrix.config.python_version}}'
269
269
path : ws/build/tesseract_python/python
270
270
- name : archive logs
271
271
if : failure()
272
- uses : actions/upload-artifact@v2
272
+ uses : actions/upload-artifact@v4
273
273
with :
274
274
name : ' build-logs-win-${{ matrix.config.arch }}-python-${{ matrix.config.python_version }}'
275
275
path : " **/*.log"
@@ -347,13 +347,13 @@ jobs:
347
347
pytest -s
348
348
- name : archive wheels
349
349
if : always()
350
- uses : actions/upload-artifact@v2
350
+ uses : actions/upload-artifact@v4
351
351
with :
352
352
name : ' python-macos-win-${{matrix.config.python_version}}'
353
353
path : ws/build/tesseract_python/python
354
354
- name : archive logs
355
355
if : failure()
356
- uses : actions/upload-artifact@v2
356
+ uses : actions/upload-artifact@v4
357
357
with :
358
358
name : ' build-logs-macos-${{ matrix.config.arch }}-python-${{ matrix.config.python_version }}'
359
359
path : " **/*.log"
@@ -373,7 +373,7 @@ jobs:
373
373
with :
374
374
path : artifacts/main
375
375
- name : archive wheels
376
- uses : actions/upload-artifact@v2
376
+ uses : actions/upload-artifact@v4
377
377
with :
378
378
name : ' python-wheels-all'
379
379
path : artifacts/**/wheelhouse/*.whl
0 commit comments