Skip to content

Commit 1ebbc44

Browse files
authored
Update windows.yml
1 parent ffea90f commit 1ebbc44

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/windows.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,14 @@ jobs:
4444
GH_TOKEN: ${{ github.token }}
4545
run: |
4646
gh release download --repo shimat/opencv_files 4.10.0.20240612 --pattern "opencv4100_win_x64.zip" --output opencv.zip
47-
ls
48-
Expand-Archive -Path opencv.zip -DestinationPath opencv -Force -ErrorAction Stop
49-
ls opencv
47+
Expand-Archive -Path opencv.zip -DestinationPath opencv_files -Force -ErrorAction Stop
48+
ls opencv_files
5049
51-
- name: Download OpenCV binaries
52-
if: steps.cache_opencv.outputs.cache-hit != 'true'
53-
shell: powershell
54-
run: |
55-
. ".\download_opencv_windows.ps1"
50+
#- name: Download OpenCV binaries
51+
# if: steps.cache_opencv.outputs.cache-hit != 'true'
52+
# shell: powershell
53+
# run: |
54+
# . ".\download_opencv_windows.ps1"
5655

5756
- name: Cache Tesseract binaries
5857
id: cache_tesseract
@@ -68,15 +67,16 @@ jobs:
6867
GH_TOKEN: ${{ github.token }}
6968
run: |
7069
gh release download --repo shimat/tesseract_vcpkg 2023.07.06 --pattern "*.zip" --output tesseract.zip
71-
ls
72-
Expand-Archive -Path tesseract.zip -DestinationPath tesseract -Force -ErrorAction Stop
73-
ls tesseract
70+
Expand-Archive -Path tesseract.zip -DestinationPath tesseract_files -Force -ErrorAction Stop
71+
New-Item tesseract_files/tesseract_vcpkg -ItemType Directory -Force
72+
Move-Item tesseract_files\*\* tesseract_files/tesseract_vcpkg
73+
ls tesseract_files/tesseract_vcpkg
7474
75-
- name: Download Tesseract binaries
76-
if: steps.cache_tesseract.outputs.cache-hit != 'true'
77-
shell: powershell
78-
run: |
79-
. ".\download_tesseract_windows.ps1"
75+
#- name: Download Tesseract binaries
76+
# if: steps.cache_tesseract.outputs.cache-hit != 'true'
77+
# shell: powershell
78+
# run: |
79+
# . ".\download_tesseract_windows.ps1"
8080

8181
- name: NuGet restore
8282
shell: cmd

0 commit comments

Comments
 (0)