@@ -72,12 +72,12 @@ jobs:
72
72
set "CI_BUILD=1" && python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\wheelhouse -v
73
73
shell : cmd
74
74
- name : Saving all wheels
75
- uses : actions/upload-artifact@v4
75
+ uses : actions/upload-artifact@v3
76
76
with :
77
- name : wheels-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
77
+ name : wheels
78
78
path : wheelhouse/opencv*.whl
79
79
- name : Saving a wheel accordingly to matrix
80
- uses : actions/upload-artifact@v4
80
+ uses : actions/upload-artifact@v3
81
81
with :
82
82
name : wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
83
83
path : wheelhouse/opencv*
@@ -118,7 +118,7 @@ jobs:
118
118
python-version : ${{ matrix.python-version }}
119
119
architecture : ${{ matrix.platform }}
120
120
- name : Download a wheel accordingly to matrix
121
- uses : actions/download-artifact@v4
121
+ uses : actions/download-artifact@v3
122
122
with :
123
123
name : wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
124
124
path : wheelhouse/
@@ -142,15 +142,15 @@ jobs:
142
142
Release_rolling :
143
143
if : ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
144
144
needs : [Build, Test]
145
- runs-on : ubuntu-22 .04
145
+ runs-on : ubuntu-20 .04
146
146
environment : opencv-python-rolling-release
147
147
defaults :
148
148
run :
149
149
shell : bash
150
150
steps :
151
- - uses : actions/download-artifact@v4
151
+ - uses : actions/download-artifact@v3
152
152
with :
153
- name : wheels-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
153
+ name : wheels
154
154
path : wheelhouse/
155
155
- name : Upload wheels for opencv_python_rolling
156
156
run : |
@@ -172,15 +172,15 @@ jobs:
172
172
Pre-release :
173
173
if : github.event_name == 'release' && github.event.release.prerelease
174
174
needs : [Build, Test]
175
- runs-on : ubuntu-22 .04
175
+ runs-on : ubuntu-20 .04
176
176
environment : test-opencv-python-release
177
177
defaults :
178
178
run :
179
179
shell : bash
180
180
steps :
181
- - uses : actions/download-artifact@v4
181
+ - uses : actions/download-artifact@v3
182
182
with :
183
- name : wheels-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
183
+ name : wheels
184
184
path : wheelhouse/
185
185
- name : Upload all wheels
186
186
run : |
@@ -190,15 +190,15 @@ jobs:
190
190
Release :
191
191
if : github.event_name == 'release' && !github.event.release.prerelease
192
192
needs : [Build, Test]
193
- runs-on : ubuntu-22 .04
193
+ runs-on : ubuntu-20 .04
194
194
environment : opencv-python-release
195
195
defaults :
196
196
run :
197
197
shell : bash
198
198
steps :
199
- - uses : actions/download-artifact@v4
199
+ - uses : actions/download-artifact@v3
200
200
with :
201
- name : wheels-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
201
+ name : wheels
202
202
path : wheelhouse/
203
203
- name : Upload wheels for opencv_python
204
204
run : |
0 commit comments