Skip to content

Commit a242a41

Browse files
authored
Update build_wheels_windows.yml
1 parent 6bc318a commit a242a41

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ jobs:
162162
with:
163163
python-version: ${{ matrix.python-version }}
164164
architecture: ${{ matrix.platform }}
165+
165166
- name: Download a wheel accordingly to matrix
166167
uses: actions/download-artifact@v4
167168
with:
@@ -187,12 +188,12 @@ jobs:
187188

188189
- name: Package installation
189190
run: |
190-
cd ${{ github.workspace }}/tests
191-
&python -m pip install --user --no-warn-script-location (ls "../wheelhouse/opencv*.whl")
192-
if ($LastExitCode -ne 0) {throw $LastExitCode}
193191
# Copy DLL next to cv2.pyd (Python 3.8+ needs this)
194192
$cv2_path = python -c "import cv2; import os; print(os.path.dirname(cv2.__file__))"
195193
Copy-Item "${{ github.workspace }}\wheelhouse\libopenblas.dll" "$cv2_path\libopenblas.dll"
194+
cd ${{ github.workspace }}/tests
195+
&python -m pip install --user --no-warn-script-location (ls "../wheelhouse/opencv*.whl")
196+
if ($LastExitCode -ne 0) {throw $LastExitCode}
196197
python get_build_info.py
197198
shell: powershell
198199
env:

0 commit comments

Comments
 (0)