Skip to content

Commit 5da97ac

Browse files
authored
Update build_wheels_windows.yml
1 parent ce9020f commit 5da97ac

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ jobs:
7272
set "CI_BUILD=1" && python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\wheelhouse -v
7373
shell: cmd
7474
- name: Saving all wheels
75-
uses: actions/upload-artifact@v4
75+
uses: actions/upload-artifact@v3
7676
with:
77-
name: wheels-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
77+
name: wheels
7878
path: wheelhouse/opencv*.whl
7979
- name: Saving a wheel accordingly to matrix
80-
uses: actions/upload-artifact@v4
80+
uses: actions/upload-artifact@v3
8181
with:
8282
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
8383
path: wheelhouse/opencv*
@@ -118,7 +118,7 @@ jobs:
118118
python-version: ${{ matrix.python-version }}
119119
architecture: ${{ matrix.platform }}
120120
- name: Download a wheel accordingly to matrix
121-
uses: actions/download-artifact@v4
121+
uses: actions/download-artifact@v3
122122
with:
123123
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
124124
path: wheelhouse/
@@ -142,15 +142,15 @@ jobs:
142142
Release_rolling:
143143
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
144144
needs: [Build, Test]
145-
runs-on: ubuntu-22.04
145+
runs-on: ubuntu-20.04
146146
environment: opencv-python-rolling-release
147147
defaults:
148148
run:
149149
shell: bash
150150
steps:
151-
- uses: actions/download-artifact@v4
151+
- uses: actions/download-artifact@v3
152152
with:
153-
name: wheels-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
153+
name: wheels
154154
path: wheelhouse/
155155
- name: Upload wheels for opencv_python_rolling
156156
run: |
@@ -172,15 +172,15 @@ jobs:
172172
Pre-release:
173173
if: github.event_name == 'release' && github.event.release.prerelease
174174
needs: [Build, Test]
175-
runs-on: ubuntu-22.04
175+
runs-on: ubuntu-20.04
176176
environment: test-opencv-python-release
177177
defaults:
178178
run:
179179
shell: bash
180180
steps:
181-
- uses: actions/download-artifact@v4
181+
- uses: actions/download-artifact@v3
182182
with:
183-
name: wheels-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
183+
name: wheels
184184
path: wheelhouse/
185185
- name: Upload all wheels
186186
run: |
@@ -190,15 +190,15 @@ jobs:
190190
Release:
191191
if: github.event_name == 'release' && !github.event.release.prerelease
192192
needs: [Build, Test]
193-
runs-on: ubuntu-22.04
193+
runs-on: ubuntu-20.04
194194
environment: opencv-python-release
195195
defaults:
196196
run:
197197
shell: bash
198198
steps:
199-
- uses: actions/download-artifact@v4
199+
- uses: actions/download-artifact@v3
200200
with:
201-
name: wheels-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
201+
name: wheels
202202
path: wheelhouse/
203203
- name: Upload wheels for opencv_python
204204
run: |

0 commit comments

Comments
 (0)