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@v3
76
- with :
77
- name : wheels
78
- path : wheelhouse/opencv*.whl
79
- - name : Saving a wheel accordingly to matrix
80
- uses : actions/upload-artifact@v3
75
+ uses : actions/upload-artifact@v4
81
76
with :
82
77
name : wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
83
78
path : wheelhouse/opencv*
@@ -118,7 +113,7 @@ jobs:
118
113
python-version : ${{ matrix.python-version }}
119
114
architecture : ${{ matrix.platform }}
120
115
- name : Download a wheel accordingly to matrix
121
- uses : actions/download-artifact@v3
116
+ uses : actions/download-artifact@v4
122
117
with :
123
118
name : wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
124
119
path : wheelhouse/
@@ -142,15 +137,14 @@ jobs:
142
137
Release_rolling :
143
138
if : ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
144
139
needs : [Build, Test]
145
- runs-on : ubuntu-20 .04
140
+ runs-on : ubuntu-22 .04
146
141
environment : opencv-python-rolling-release
147
142
defaults :
148
143
run :
149
144
shell : bash
150
145
steps :
151
- - uses : actions/download-artifact@v3
146
+ - uses : actions/download-artifact@v4
152
147
with :
153
- name : wheels
154
148
path : wheelhouse/
155
149
- name : Upload wheels for opencv_python_rolling
156
150
run : |
@@ -172,15 +166,14 @@ jobs:
172
166
Pre-release :
173
167
if : github.event_name == 'release' && github.event.release.prerelease
174
168
needs : [Build, Test]
175
- runs-on : ubuntu-20 .04
169
+ runs-on : ubuntu-22 .04
176
170
environment : test-opencv-python-release
177
171
defaults :
178
172
run :
179
173
shell : bash
180
174
steps :
181
- - uses : actions/download-artifact@v3
175
+ - uses : actions/download-artifact@v4
182
176
with :
183
- name : wheels
184
177
path : wheelhouse/
185
178
- name : Upload all wheels
186
179
run : |
@@ -190,15 +183,14 @@ jobs:
190
183
Release :
191
184
if : github.event_name == 'release' && !github.event.release.prerelease
192
185
needs : [Build, Test]
193
- runs-on : ubuntu-20 .04
186
+ runs-on : ubuntu-22 .04
194
187
environment : opencv-python-release
195
188
defaults :
196
189
run :
197
190
shell : bash
198
191
steps :
199
- - uses : actions/download-artifact@v3
192
+ - uses : actions/download-artifact@v4
200
193
with :
201
- name : wheels
202
194
path : wheelhouse/
203
195
- name : Upload wheels for opencv_python
204
196
run : |
0 commit comments