@@ -71,16 +71,12 @@ jobs:
71
71
python -m pip install toml && python -c "import toml; c = toml.load('pyproject.toml'); print('\n'.join(c['build-system']['requires']))" >> requirements.txt | python -m pip install -r requirements.txt
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
- - name : Saving all wheels
74
+
75
+ - name : Upload built wheel
75
76
uses : actions/upload-artifact@v4
76
- with :
77
- name : wheels
78
- path : wheelhouse/opencv*.whl
79
- - name : Saving a wheel accordingly to matrix
80
- uses : actions/upload-artifact@v4
81
- with :
82
- name : wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
83
- path : wheelhouse/opencv*
77
+ with :
78
+ name : wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}-${{ github.run_id }}-${{ github.job }}
79
+ path : wheelhouse/opencv*.whl
84
80
85
81
Test :
86
82
needs : [Build]
@@ -117,11 +113,12 @@ jobs:
117
113
with :
118
114
python-version : ${{ matrix.python-version }}
119
115
architecture : ${{ matrix.platform }}
120
- - name : Download a wheel accordingly to matrix
116
+
117
+ - name : Download all artifacts
121
118
uses : actions/download-artifact@v3
122
- with :
123
- name : wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}-${{ matrix.platform }}
124
- path : wheelhouse/
119
+ with :
120
+ path : wheelhouse/
121
+
125
122
- name : Package installation
126
123
run : |
127
124
cd ${{ github.workspace }}/tests
@@ -148,10 +145,11 @@ jobs:
148
145
run :
149
146
shell : bash
150
147
steps :
151
- - uses : actions/download-artifact@v3
148
+ - name : Download all wheels
149
+ uses : actions/download-artifact@v3
152
150
with :
153
- name : wheels
154
151
path : wheelhouse/
152
+
155
153
- name : Upload wheels for opencv_python_rolling
156
154
run : |
157
155
python -m pip install twine
@@ -178,9 +176,9 @@ jobs:
178
176
run :
179
177
shell : bash
180
178
steps :
181
- - uses : actions/download-artifact@v3
179
+ - name : Download all wheels
180
+ uses : actions/download-artifact@v3
182
181
with :
183
- name : wheels
184
182
path : wheelhouse/
185
183
- name : Upload all wheels
186
184
run : |
@@ -196,9 +194,9 @@ jobs:
196
194
run :
197
195
shell : bash
198
196
steps :
199
- - uses : actions/download-artifact@v3
197
+ - name : Download all wheels
198
+ uses : actions/download-artifact@v3
200
199
with :
201
- name : wheels
202
200
path : wheelhouse/
203
201
- name : Upload wheels for opencv_python
204
202
run : |
0 commit comments