From f9fceebc1ce77aa18ba6bcdb1008d487002110cf Mon Sep 17 00:00:00 2001 From: shimat Date: Wed, 23 Oct 2024 14:30:04 +0900 Subject: [PATCH 1/4] Update windows.yml --- .github/workflows/windows.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index cdc0ffd61..39b4426bc 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -8,7 +8,8 @@ on: - main env: - OPENCV_VERSION: 4.10.0 + OPENCV_VERSION: "4.10.0" + TESSERACT_RELEASE_VERSION: "2024.08.19" jobs: build: @@ -65,7 +66,7 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release download --repo shimat/tesseract_vcpkg 2023.07.06 --pattern "*.zip" --output tesseract.zip + gh release download --repo shimat/tesseract_vcpkg ${TESSERACT_RELEASE_VERSION} --pattern "*.zip" --output tesseract.zip Expand-Archive -Path tesseract.zip -DestinationPath tesseract_files -Force -ErrorAction Stop ls tesseract_files New-Item tesseract_files/tesseract_vcpkg -ItemType Directory -Force From c99aea3117e8373f25295bb12b1bc6f95a301bf9 Mon Sep 17 00:00:00 2001 From: shimat Date: Wed, 23 Oct 2024 21:31:09 +0900 Subject: [PATCH 2/4] Update windows.yml --- .github/workflows/windows.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 39b4426bc..38520fdea 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -68,7 +68,8 @@ jobs: run: | gh release download --repo shimat/tesseract_vcpkg ${TESSERACT_RELEASE_VERSION} --pattern "*.zip" --output tesseract.zip Expand-Archive -Path tesseract.zip -DestinationPath tesseract_files -Force -ErrorAction Stop - ls tesseract_files + ls tesseract_files + ls tesseract_files/tesseract_vcpkg New-Item tesseract_files/tesseract_vcpkg -ItemType Directory -Force Move-Item tesseract_files/tesseract_vcpkg/installed/* tesseract_files/tesseract_vcpkg/ ls tesseract_files/tesseract_vcpkg From 3eca92cbed12a12671727ced0281b3bb31aab09a Mon Sep 17 00:00:00 2001 From: shimat Date: Wed, 23 Oct 2024 22:13:23 +0900 Subject: [PATCH 3/4] Update windows.yml --- .github/workflows/windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 38520fdea..b320383ce 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -58,7 +58,7 @@ jobs: uses: actions/cache@v4 with: path: ${{ github.workspace }}/tesseract_files - key: tesseract-41-rev1 + key: tesseract-41-rev2 - name: Download Tesseract binaries if: steps.cache_tesseract.outputs.cache-hit != 'true' From 754aa8a14fb306722aadc5206903a773b642476e Mon Sep 17 00:00:00 2001 From: shimat Date: Wed, 23 Oct 2024 23:18:30 +0900 Subject: [PATCH 4/4] Update windows.yml --- .github/workflows/windows.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index b320383ce..e96d9f502 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -69,6 +69,7 @@ jobs: gh release download --repo shimat/tesseract_vcpkg ${TESSERACT_RELEASE_VERSION} --pattern "*.zip" --output tesseract.zip Expand-Archive -Path tesseract.zip -DestinationPath tesseract_files -Force -ErrorAction Stop ls tesseract_files + Move-Item tesseract_files/tesseract_vcpkg.0.0.9-beta tesseract_files/tesseract_vcpkg ls tesseract_files/tesseract_vcpkg New-Item tesseract_files/tesseract_vcpkg -ItemType Directory -Force Move-Item tesseract_files/tesseract_vcpkg/installed/* tesseract_files/tesseract_vcpkg/