Skip to content

Commit 2c3e935

Browse files
committed
Use actions/upload-artifact@v4
1 parent 1fd07b5 commit 2c3e935

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/wheels.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ jobs:
149149
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GITHUB_WORKSPACE/ws/install/lib
150150
cmake --build . --config Release --target tesseract_python_doc
151151
- name: archive wheels
152-
uses: actions/upload-artifact@v2
152+
uses: actions/upload-artifact@v4
153153
with:
154154
name: 'python-wheels-${{ matrix.config.os }}-${{ matrix.config.python_version }}'
155155
path: ws/build/tesseract_python/python/*
156156
- name: archive docs
157-
uses: actions/upload-artifact@v2
157+
uses: actions/upload-artifact@v4
158158
with:
159159
name: 'python-docs-${{ matrix.config.os }}-${{ matrix.config.python_version }}'
160160
path: ws/build/tesseract_python/docs/*
@@ -263,13 +263,13 @@ jobs:
263263
if %errorlevel% neq 0 exit /b %errorlevel%
264264
- name: archive wheels
265265
if: always()
266-
uses: actions/upload-artifact@v2
266+
uses: actions/upload-artifact@v4
267267
with:
268268
name: 'python-wheels-win-${{matrix.config.python_version}}'
269269
path: ws/build/tesseract_python/python
270270
- name: archive logs
271271
if: failure()
272-
uses: actions/upload-artifact@v2
272+
uses: actions/upload-artifact@v4
273273
with:
274274
name: 'build-logs-win-${{ matrix.config.arch }}-python-${{ matrix.config.python_version }}'
275275
path: "**/*.log"
@@ -347,13 +347,13 @@ jobs:
347347
pytest -s
348348
- name: archive wheels
349349
if: always()
350-
uses: actions/upload-artifact@v2
350+
uses: actions/upload-artifact@v4
351351
with:
352352
name: 'python-macos-win-${{matrix.config.python_version}}'
353353
path: ws/build/tesseract_python/python
354354
- name: archive logs
355355
if: failure()
356-
uses: actions/upload-artifact@v2
356+
uses: actions/upload-artifact@v4
357357
with:
358358
name: 'build-logs-macos-${{ matrix.config.arch }}-python-${{ matrix.config.python_version }}'
359359
path: "**/*.log"
@@ -373,7 +373,7 @@ jobs:
373373
with:
374374
path: artifacts/main
375375
- name: archive wheels
376-
uses: actions/upload-artifact@v2
376+
uses: actions/upload-artifact@v4
377377
with:
378378
name: 'python-wheels-all'
379379
path: artifacts/**/wheelhouse/*.whl

0 commit comments

Comments
 (0)